-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathdocker-compose.yml
62 lines (59 loc) · 1.22 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
version: '3.1'
services:
backend-python:
user: foam
privileged: true
build:
context: ./backend/python
ports:
- 6000:5000
command: "python3.8 server.py"
environment:
- CASES_STORAGE=/wop/cases
container_name: wop_backend_python
volumes:
- cases_volume:/wop/cases
networks:
- wop-network
backend-nodejs:
build:
context: ./backend/nodejs
ports:
- 8080:8080
- 8081:8081
command: "npm run start"
environment:
- PYTHON_SERVER=http://wop_backend_python:5000
depends_on:
- backend-python
container_name: wop_backend_nodejs
networks:
- wop-network
backend-paraview:
build:
context: ./backend/paraview
ports:
- 11111:11111
environment:
- CORES=8
container_name: wop_backend_paraview
volumes:
- cases_volume:/wop/cases
# evaluation:
# build:
# context: ./evaluation
# tty: true
# networks:
# - wop-network
# depends_on:
# - backend-nodejs
# container_name: wop_evaluation
# volumes:
# - ./evaluation/results:/app/results
volumes:
cases_volume:
networks:
wop-network:
driver: bridge
ipam:
driver: default