-
Notifications
You must be signed in to change notification settings - Fork 40
/
Copy pathdocker-compose.yml
75 lines (70 loc) · 1.92 KB
/
docker-compose.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
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
version: "3.3"
services:
mongodb:
image: mongo:4.2.8
container_name: "mongodb"
environment:
- MONGO_DATA_DIR=/data/db
- MONGO_LOG_DIR=/dev/null
volumes:
- mongodata:/data/db
ports:
- 27017:27017
command: mongod --logpath=/dev/null # --quiet
master:
image: plynxteam/backend:latest
container_name: "master"
depends_on:
- mongodb
- api
links:
- mongodb
- api
volumes:
- ./data:/data
- ./config.yaml:/app/config.yaml
environment:
- PLYNX_CONFIG=/app/config.yaml
command: plynx worker -vvv -e basic-dag-workflow --internal-endpoint http://api:5005/plynx/api/v0
restart: always
workers:
image: plynxteam/backend:latest
depends_on:
- mongodb
- api
links:
- mongodb
- api
volumes:
- ./data:/data
- ./config.yaml:/app/config.yaml
environment:
- PLYNX_CONFIG=/app/config.yaml
command: plynx worker -vvv -e basic-bash-jinja2-operation -e basic-python-node-operation -e basic-dag-operation -e python-workflow --internal-endpoint http://api:5005/plynx/api/v0
restart: always
api:
image: plynxteam/backend:latest
container_name: "api"
ports:
- "5005:5005"
depends_on:
- mongodb
links:
- mongodb
volumes:
- ./data:/data
- ./config.yaml:/app/config.yaml
environment:
- PLYNX_CONFIG=/app/config.yaml
command: plynx api -vvv
frontend:
image: plynxteam/ui:latest
container_name: "frontend"
ports:
- "3001:80"
depends_on:
- api
links:
- api
volumes:
mongodata: