Skip to content

Commit 0e7db40

Browse files
authored
Add api-worker simcore service (#1195)
* Add api-worker simcore service Related issue/s * closes #1192 Related PR/s * ITISFoundation/osparc-simcore#8233 * raise cpu limit
1 parent 208c7e8 commit 0e7db40

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

services/simcore/docker-compose.yml.j2

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -117,6 +117,25 @@ services:
117117
memory: "600M"
118118
extra_hosts: []
119119

120+
api-worker:
121+
deploy:
122+
replicas: ${SIMCORE_API_WORKER_REPLICAS}
123+
update_config:
124+
parallelism: 1
125+
order: start-first
126+
failure_action: continue
127+
delay: 10s
128+
placement:
129+
constraints:
130+
- node.labels.simcore==true
131+
resources:
132+
reservations:
133+
cpus: "0.1"
134+
memory: "256M"
135+
limits: # Wait for MB to estimate real numbers
136+
cpus: "1.5"
137+
memory: "500M"
138+
120139
catalog:
121140
networks:
122141
- monitored

0 commit comments

Comments
 (0)