Skip to content

Commit 611900c

Browse files
authored
Add sto-worker simcore service (#1008)
* Add sto-worker simcore service Related PR: ITISFoundation/osparc-simcore#7214 * Tighten CPU resource constraints
1 parent f90754f commit 611900c

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

services/simcore/docker-compose.yml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -376,6 +376,27 @@ services:
376376
cpus: "1"
377377
memory: "3G"
378378

379+
sto-worker:
380+
networks:
381+
- monitored
382+
deploy:
383+
replicas: ${SIMCORE_STO_WORKER_REPLICAS}
384+
update_config:
385+
parallelism: 2
386+
order: start-first
387+
failure_action: continue
388+
delay: 10s
389+
placement:
390+
constraints:
391+
- node.labels.simcore==true
392+
resources:
393+
reservations:
394+
cpus: "0.1"
395+
memory: "350M"
396+
limits:
397+
cpus: "1"
398+
memory: "700M"
399+
379400
director:
380401
# Certificate necessary for local deploiement only
381402
#secrets:

0 commit comments

Comments
 (0)