Skip to content

Commit 20af461

Browse files
committed
1 parent 20f3eca commit 20af461

File tree

1 file changed

+26
-0
lines changed

1 file changed

+26
-0
lines changed

services/simcore/docker-compose.yml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -214,6 +214,7 @@ services:
214214
extra_hosts: []
215215

216216
wb-db-event-listener:
217+
hostname: "{{.Node.Hostname}}-{{.Service.Name}}"
217218
environment:
218219
- WEBSERVER_LOGLEVEL=${WEBSERVER_LOGLEVEL}
219220
networks:
@@ -482,6 +483,31 @@ services:
482483
max_attempts: 3
483484
window: 120s
484485

486+
resource-usage-tracker:
487+
networks:
488+
- monitored
489+
- public
490+
hostname: "{{.Node.Hostname}}-{{.Service.Name}}"
491+
deploy:
492+
# NOTE: https://github.com/ITISFoundation/osparc-simcore/pull/4286
493+
# NOTE: this MUSTN'T change, or weird things might happen
494+
# this will stay until all legacy dynamic services are gone.
495+
replicas: 1
496+
update_config:
497+
parallelism: 2
498+
order: start-first
499+
failure_action: rollback
500+
delay: 10s
501+
rollback_config:
502+
parallelism: 0
503+
order: stop-first
504+
restart_policy:
505+
condition: any
506+
delay: 5s
507+
max_attempts: 3
508+
window: 120s
509+
510+
485511
postgres:
486512
networks:
487513
- monitored

0 commit comments

Comments
 (0)