Skip to content

Commit 4bed84e

Browse files
committed
Add notifications service
Related PRs: * ITISFoundation/osparc-simcore#7436 Related Issues: * #1014
1 parent 611900c commit 4bed84e

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
@@ -918,6 +918,27 @@ services:
918918
- traefik.http.routers.${PREFIX_STACK_NAME}_dynamic_scheduler.tls=true
919919
- traefik.http.routers.${PREFIX_STACK_NAME}_dynamic_scheduler.middlewares=ops_gzip@swarm, ops_auth@swarm
920920

921+
notifications:
922+
networks:
923+
- monitored
924+
deploy:
925+
replicas: ${SIMCORE_NOTIFICATIONS_REPLICAS}
926+
placement:
927+
constraints:
928+
- node.labels.simcore==true
929+
update_config:
930+
parallelism: 1
931+
order: start-first
932+
failure_action: rollback
933+
delay: 10s
934+
resources:
935+
limits:
936+
memory: 500M
937+
cpus: '0.5'
938+
reservations:
939+
memory: 50M
940+
cpus: '0.1'
941+
921942
volumes:
922943
rabbit_data:
923944
name: ${SWARM_STACK_NAME}_rabbit_data

0 commit comments

Comments
 (0)