Add auto restart

This commit is contained in:
Leo Winter 2017-08-28 01:43:02 +02:00 committed by GitHub
parent 4b4436a766
commit 1647b230f0
1 changed files with 4 additions and 1 deletions

View File

@ -30,6 +30,7 @@ services:
- cadvisor
networks:
- back-tier
restart: always
deploy:
placement:
constraints:
@ -55,6 +56,7 @@ services:
- ./alertmanager/:/etc/alertmanager/
networks:
- back-tier
restart: always
command:
- '-config.file=/etc/alertmanager/config.yml'
- '-storage.path=/alertmanager'
@ -73,6 +75,7 @@ services:
- 8080
networks:
- back-tier
restart: always
deploy:
mode: global
@ -88,4 +91,4 @@ services:
- config.monitoring
networks:
- back-tier
- front-tier
- front-tier