-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
84 lines (81 loc) · 2.21 KB
/
docker-compose.yml
File metadata and controls
84 lines (81 loc) · 2.21 KB
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
76
77
78
79
80
81
82
83
84
version: "3.10"
services:
client:
build:
context: ./epic-suite-gui
image: client
ports:
- "3000:3000"
container_name: client
# volumes:
# - ./epic-suite-gui/.next:/app/.next
initialconditions:
build:
context: ./init-cond/endpointV1.2
image: initial_conditions_server
ports:
- "5002:5002"
container_name: initialconditions
nginx:
build:
context: ./nginx
image: nginx_proxy
container_name: nginx
volumes:
- "./nginx/default.conf:/etc/nginx/conf.d/default.conf"
ports:
- "80:80"
depends_on:
- initialconditions
- covid19geomodeller
- sse
covid19geomodeller:
platform: linux/amd64
container_name: covid19geomodeller
image: simulation-backend
command: conda run -n myenv python backend/run.py -d
build:
context: ./simulation-backend
ports:
- "5003:5003"
volumes:
- ./simulation-backend/backend:/app/backend
depends_on:
- redis
entrypoint: "./install.sh"
worker:
platform: linux/amd64
container_name: worker
image: simulation-backend
command: conda run -n myenv rq worker --name worker --url redis://redis:6379/0
build:
context: ./simulation-backend
depends_on:
- redis
- covid19geomodeller
volumes:
- ./simulation-backend/backend:/app/backend
entrypoint: "./worker.sh"
sse:
container_name: sse
image: sse
build:
context: ./sse-server
ports:
- "9000:9000"
volumes:
- ./sse-server/app:/code/app
depends_on:
- redis
redis:
container_name: redis
image: "redis:alpine"
matrices-od:
container_name: matrices-od
build:
context: /home/epic/endpoint_mOD/
ports:
- "5010:5010"
volumes:
- /home/epic/cuebiq/mOD_nDevices:/home/epic/cuebiq/mOD_nDevices
- /home/epic/endpoint_mOD/:/matricesOD