Skip to content

Commit 634a195

Browse files
committed
Merge remote-tracking branch 'upstream/main' into add-ha-rabbit
2 parents 2b15092 + 0e7db40 commit 634a195

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)