-
Notifications
You must be signed in to change notification settings - Fork 1.8k
/
Copy pathdocker-compose.dev.yml
58 lines (52 loc) · 1.14 KB
/
docker-compose.dev.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
version: '3.3'
services:
backend:
build:
context: ./backend
image: crawlabteam/crawlab-backend:${CRAWLAB_TAG:-develop}
env_file:
- .env.local
frontend:
build:
context: ./frontend
image: crawlabteam/crawlab-frontend:${CRAWLAB_TAG:-develop}
env_file:
- .env.local
base-image:
build:
context: ./docker/base-image
image: crawlabteam/crawlab-base:${CRAWLAB_TAG:-develop}
env_file:
- .env.local
crawlab:
build:
context: .
image: crawlabteam/crawlab:${CRAWLAB_TAG:-develop}
depends_on:
- backend
- frontend
- base-image
env_file:
- .env.local
master:
image: crawlabteam/crawlab:${CRAWLAB_TAG:-develop}
environment:
CRAWLAB_NODE_MASTER: "Y"
CRAWLAB_MONGO_HOST: "mongo"
ports:
- "${CRAWLAB_PORT:-8082}:8080"
depends_on:
- mongo
env_file:
- .env.local
worker:
image: crawlabteam/crawlab:${CRAWLAB_TAG:-develop}
environment:
CRAWLAB_NODE_MASTER: "N"
CRAWLAB_MASTER_HOST: "master"
depends_on:
- master
env_file:
- .env.local
mongo:
image: mongo:5