Add auto restart
This commit is contained in:
parent
4b4436a766
commit
1647b230f0
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue