restructured code

This commit is contained in:
Marvin Zhang
2019-03-06 10:11:07 +08:00
parent 6b9c0581c2
commit a473aef621
45 changed files with 153 additions and 7 deletions

View File

@@ -1,18 +0,0 @@
version: '3.3' # 表示该 Docker-Compose 文件使用的是 Version 2 file
services:
web: # 指定服务名称
build: . # 指定 Dockerfile 所在路径
ports: # 指定端口映射
- "5001:5000"
task:
image: crawlab:v3
db:
image: mongo
restart: always
ports:
- "27017:27017"
redis:
image: redis
restart: always
ports:
- "6379:6379"