-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose-debug.yml
129 lines (121 loc) · 4.62 KB
/
docker-compose-debug.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
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
###
### Docker file for the ucis4eq services
###
version: '3'
services:
# UCIS4EQ Simulation Generator service
simulation:
image: registry.gitlab.bsc.es/wavephenomenagroup/ucis4eq/simulation
network_mode: "host"
environment:
- PYTHONUNBUFFERED=1
- SSH_AUTH_SOCK=${SSH_AUTH_SOCK}
- HPC_RUN_PYCOMPSS=$HPC_RUN_PYCOMPSS
volumes:
- ./data/DAL.json:/opt/DAL.json
- ./data/Sites.json:/opt/Sites.json
- ./code/services/simulationService.py:/root/services/simulationService.py
- ./code/components/:/usr/local/lib/python3.8/dist-packages/ucis4eq
- ./code/components/:/usr/local/lib/python3.7/dist-packages/ucis4eq
- ./code/components/:/usr/local/lib/python3.8/site-packages/ucis4eq
- $SSH_AUTH_SOCK:$SSH_AUTH_SOCK
- ~/.ssh/known_hosts:/root/.ssh/known_hosts
# UCIS4EQ Slip Generator service
slipgen:
image: registry.gitlab.bsc.es/wavephenomenagroup/ucis4eq/slipgen
network_mode: "host"
environment:
- PYTHONUNBUFFERED=1
- SSH_AUTH_SOCK=${SSH_AUTH_SOCK}
volumes:
- ./data/DAL.json:/opt/DAL.json
- ./data/Sites.json:/opt/Sites.json
- ./code/services/slipGenService.py:/root/services/slipGenService.py
- ./code/components/:/usr/lib/python3/dist-packages/ucis4eq
- $SSH_AUTH_SOCK:$SSH_AUTH_SOCK
- ~/.ssh/known_hosts:/root/.ssh/known_hosts
# UCIS4EQ Salvus
salvus:
image: registry.gitlab.bsc.es/wavephenomenagroup/ucis4eq/salvus
network_mode: "host"
environment:
- PYTHONUNBUFFERED=1
- SSH_AUTH_SOCK=${SSH_AUTH_SOCK}
volumes:
- ./data/DAL.json:/opt/DAL.json
- ./data/Sites.json:/opt/Sites.json
- ./code/services/salvusService.py:/root/services/salvusService.py
- ./code/components/:/usr/local/lib/python3.8/site-packages/ucis4eq
- $SSH_AUTH_SOCK:$SSH_AUTH_SOCK
- ~/.ssh/known_hosts:/root/.ssh/known_hosts
# UCIS4EQ Micro-services
microservices:
image: registry.gitlab.bsc.es/wavephenomenagroup/ucis4eq/microservices
network_mode: "host"
environment:
- PYTHONUNBUFFERED=1
- SSH_AUTH_SOCK=${SSH_AUTH_SOCK}
volumes:
- ./data/DAL.json:/opt/DAL.json
- ./data/Sites.json:/opt/Sites.json
- ./code/components/:/usr/local/lib/python3.8/site-packages/ucis4eq
- ./code/services/microServices.py:/root/services/microServices.py
- $SSH_AUTH_SOCK:$SSH_AUTH_SOCK
- ~/.ssh/known_hosts:/root/.ssh/known_hosts
depends_on:
- DAL
# UCIS4EQ Workflow Manager service
workflowmanager:
image: registry.gitlab.bsc.es/wavephenomenagroup/ucis4eq/workflowmanager
network_mode: "host"
environment:
- UCIS4EQ_LOCATION=${LOCATION}
- PYTHONUNBUFFERED=1
- COMPSS_HTTP_POOL_SIZE=100
- HPC_RUN_PYCOMPSS=$HPC_RUN_PYCOMPSS
volumes:
- ./data/project.xml:/opt/project.xml
- ./data/resources.xml:/opt/resources.xml
- ./code/components/:/usr/local/lib/python3.8/site-packages/ucis4eq
- ./code/services/workflowManagerService.py:/root/services/workflowManagerService.py
- ./data/resources.xml:/usr/local/lib/python3.8/site-packages/pycompss/COMPSs/Runtime/configuration/xml/resources/default_resources.xml
- ./data/project.xml:/usr/local/lib/python3.8/site-packages/pycompss/COMPSs/Runtime/configuration/xml/projects/default_project.xml
- ./results/pycompss:/root/.COMPSs/
# Mongo DataBase
DAL:
image: mongo:4.2
command: mongod --quiet --logpath /dev/null
ports:
- "27017:27017"
restart: always
# UCIS4EQ Listener service
listener:
image: registry.gitlab.bsc.es/wavephenomenagroup/ucis4eq/listener
network_mode: "host"
environment:
- PYTHONUNBUFFERED=1
volumes:
- ./data/DAL.json:/opt/DAL.json
- ./data/Sites.json:/opt/Sites.json
- ./code/components/:/usr/local/lib/python3.5/site-packages/ucis4eq
- ./code/services/listener.py:/root/services/listener.py
- ./results/listener:/tmp/ucis4eq-aas-listener/temporary_data/
restart: always
depends_on:
- DAL
- workflowmanager
- microservices
# UCIS4EQ Dashboard service
dashboard:
image: registry.gitlab.bsc.es/wavephenomenagroup/ucis4eq/dashboard
network_mode: "host"
environment:
- PYTHONUNBUFFERED=1
- SSH_AUTH_SOCK=${SSH_AUTH_SOCK}
volumes:
- ./data/DAL.json:/opt/DAL.json
- ./code/components/:/usr/local/lib/python3.8/site-packages/ucis4eq
- ./code/services/dashboard.py:/root/services/dashboard.py
- ./deployment/dockers/dashboard/assets:/root/services/assets
- $SSH_AUTH_SOCK:$SSH_AUTH_SOCK
- ~/.ssh/known_hosts:/root/.ssh/known_hosts