crawlab icon indicating copy to clipboard operation
crawlab copied to clipboard

请教如何配置本地mongodb

Open lbgws2 opened this issue 1 year ago • 1 comments

以下是我的compose配置

version: '3.3' services: master: image: docker.1panel.dev/crawlabteam/crawlab:latest container_name: crawlab_panel restart: always environment: CRAWLAB_SERVER_MASTER: "Y" CRAWLAB_MONGO_HOST: "mongo" ports: - "7777:8080" depends_on: - mongo mongo: image: docker.1panel.dev/mongo:latest restart: always ports: - "27003:27003"

求教如何配置为本地mongo,不要再开一个容器

lbgws2 avatar Oct 31 '24 16:10 lbgws2

可以参考如下: version: '3.3' services: master: image: crawlabteam/crawlab container_name: crawlab_master restart: always environment: CRAWLAB_NODE_MASTER: "Y" CRAWLAB_MONGO_HOST: "192.168.29.13" CRAWLAB_MONGO_PORT: "27017" CRAWLAB_MONGO_DB: "crawlab"

sjxixi avatar Dec 18 '24 08:12 sjxixi