Skip to content

Commit da95a91

Browse files
authored
Add notifications service (ITISFoundation#1016)
Related PRs: * ITISFoundation/osparc-simcore#7436 Related Issues: * ITISFoundation#1014
1 parent 8cfbc87 commit da95a91

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

services/simcore/docker-compose.yml.j2

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -939,6 +939,27 @@ services:
939939
- traefik.http.routers.${PREFIX_STACK_NAME}_dynamic_scheduler.tls=true
940940
- traefik.http.routers.${PREFIX_STACK_NAME}_dynamic_scheduler.middlewares=ops_gzip@swarm, ops_auth@swarm
941941

942+
notifications:
943+
networks:
944+
- monitored
945+
deploy:
946+
replicas: ${SIMCORE_NOTIFICATIONS_REPLICAS}
947+
placement:
948+
constraints:
949+
- node.labels.simcore==true
950+
update_config:
951+
parallelism: 1
952+
order: start-first
953+
failure_action: rollback
954+
delay: 10s
955+
resources:
956+
limits:
957+
memory: 500M
958+
cpus: '0.5'
959+
reservations:
960+
memory: 50M
961+
cpus: '0.1'
962+
942963
volumes:
943964
rabbit_data:
944965
name: ${SWARM_STACK_NAME}_rabbit_data

0 commit comments

Comments
 (0)