forked from ITISFoundation/osparc-simcore
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.devel.yml
198 lines (172 loc) · 5.06 KB
/
docker-compose.devel.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
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
# Overrides docker-compose.yml config when deploying services in development mode,
# i.e. binding with source code in source
# NOTES:
# - port 3000 used for ptsv
#
x-common-environment: &common-environment
# Enforces *_DEBUG option in all services. ONLY allowed in devel-mode!
DEBUG : "true"
# Enforces app to boot debug mode (see docker/boot.sh). ONLY allowed in devel-mode!
SC_BOOT_MODE : debug
services:
api-server:
environment:
<<: *common-environment
API_SERVER_PROFILING : ${API_SERVER_PROFILING}
API_SERVER_LOGLEVEL: DEBUG
volumes:
- ./api-server:/devel/services/api-server
- ../packages:/devel/packages
autoscaling:
environment:
<<: *common-environment
AUTOSCALING_LOGLEVEL: DEBUG
volumes:
- ./autoscaling:/devel/services/autoscaling
- ../packages:/devel/packages
invitations:
environment:
<<: *common-environment
INVITATIONS_LOGLEVEL: DEBUG
volumes:
- ./invitations:/devel/services/invitations
- ../packages:/devel/packages
payments:
environment:
<<: *common-environment
PAYMENTS_LOGLEVEL: DEBUG
volumes:
- ./payments:/devel/services/payments
- ../packages:/devel/packages
dynamic-schdlr:
environment:
<<: *common-environment
DYNAMIC_SCHEDULER_PROFILING : ${DYNAMIC_SCHEDULER_PROFILING}
DYNAMIC_SCHEDULER_LOGLEVEL: DEBUG
volumes:
- ./dynamic-scheduler:/devel/services/dynamic-scheduler
- ../packages:/devel/packages
deploy:
replicas: 1
catalog:
environment:
<<: *common-environment
CATALOG_PROFILING : ${CATALOG_PROFILING}
DYNAMIC_SIDECAR_MOUNT_PATH_DEV : ${PWD}/services/dynamic-sidecar
CATALOG_LOGLEVEL: DEBUG
volumes:
- ./catalog:/devel/services/catalog
- ../packages:/devel/packages
clusters-keeper:
environment:
<<: *common-environment
CLUSTERS_KEEPER_LOGLEVEL: DEBUG
volumes:
- ./clusters-keeper:/devel/services/clusters-keeper
- ../packages:/devel/packages
datcore-adapter:
environment:
<<: *common-environment
DATCORE_ADAPTER_LOGLEVEL: DEBUG
volumes:
- ./datcore-adapter:/devel/services/datcore-adapter
- ../packages:/devel/packages
director:
environment:
LOGLEVEL : debug
SC_BOOT_MODE : debug
volumes:
- ./director:/devel/services/director
- ../packages:/devel/packages
- ../api:/devel/services/api
director-v2:
environment:
<<: *common-environment
DIRECTOR_V2_PROFILING : ${DIRECTOR_V2_PROFILING}
DYNAMIC_SIDECAR_MOUNT_PATH_DEV : ${PWD}/services/dynamic-sidecar
DIRECTOR_V2_LOGLEVEL: DEBUG
volumes:
- ./director-v2:/devel/services/director-v2
- ../packages:/devel/packages
efs-guardian:
environment:
<<: *common-environment
EFS_GUARDIAN_LOGLEVEL: DEBUG
volumes:
- ./efs-guardian:/devel/services/efs-guardian
- ../packages:/devel/packages
deploy:
replicas: 0
static-webserver:
volumes:
- ./static-webserver/client/source-output:/static-content
environment:
SERVER_LOGLEVEL : info
webserver:
volumes: &webserver_volumes_devel
- ./web/server:/devel/services/web/server
- ../packages:/devel/packages
environment: &webserver_environment_devel
<<: *common-environment
DEBUG: 1 # NOTE: gunicorn expects an int not a boolean
WEBSERVER_LOGLEVEL: DEBUG
WEBSERVER_PROFILING: ${WEBSERVER_PROFILING}
WEBSERVER_REMOTE_DEBUGGING_PORT: 3000
wb-api-server:
volumes: *webserver_volumes_devel
environment:
<<: *webserver_environment_devel
wb-db-event-listener:
volumes: *webserver_volumes_devel
environment:
<<: *webserver_environment_devel
wb-garbage-collector:
volumes: *webserver_volumes_devel
environment:
<<: *webserver_environment_devel
RESOURCE_MANAGER_RESOURCE_TTL_S: 15
dask-sidecar:
volumes:
&dask-sidecar_volumes_devel
- ./dask-sidecar:/devel/services/dask-sidecar
- ../packages:/devel/packages
- ${ETC_HOSTNAME:-/etc/hostname}:/home/scu/hostname:ro
environment:
<<: *common-environment
SIDECAR_LOGLEVEL: DEBUG
ports:
- "3000"
deploy:
endpoint_mode: vip
dask-scheduler:
volumes: *dask-sidecar_volumes_devel
environment:
<<: *common-environment
SIDECAR_LOGLEVEL: DEBUG
ports:
- "3000"
deploy:
endpoint_mode: vip
replicas: 1
resource-usage-tracker:
environment:
<<: *common-environment
RESOURCE_USAGE_TRACKER_LOGLEVEL: DEBUG
volumes:
- ./resource-usage-tracker:/devel/services/resource-usage-tracker
- ../packages:/devel/packages
storage:
volumes:
- ./storage:/devel/services/storage
- ../packages:/devel/packages
environment:
<<: *common-environment
STORAGE_PROFILING : ${STORAGE_PROFILING}
STORAGE_LOGLEVEL: DEBUG
agent:
environment:
<<: *common-environment
AGENT_LOGLEVEL: DEBUG
volumes:
- ./agent:/devel/services/agent
- ../packages:/devel/packages