mirror of
https://github.com/crawlab-team/crawlab.git
synced 2026-01-22 17:31:03 +01:00
29 lines
663 B
YAML
29 lines
663 B
YAML
version: '3.3'
|
|
services:
|
|
master:
|
|
image: tikazyq/crawlab:latest
|
|
container_name: crawlab
|
|
volumes:
|
|
- /home/yeqing/config.py:/opt/crawlab/crawlab/config/config.py # 后端配置文件
|
|
- /home/yeqing/.env.production:/opt/crawlab/frontend/.env.production # 前端配置文件
|
|
ports:
|
|
- "8080:8080" # nginx
|
|
- "8000:8000" # app
|
|
depends_on:
|
|
- mongo
|
|
- redis
|
|
entrypoint:
|
|
- /bin/sh
|
|
- /opt/crawlab/docker_init.sh
|
|
- master
|
|
mongo:
|
|
image: mongo:latest
|
|
restart: always
|
|
ports:
|
|
- "27017:27017"
|
|
redis:
|
|
image: redis:latest
|
|
restart: always
|
|
ports:
|
|
- "6379:6379"
|