towards healthchecks for all containers
This commit is contained in:
@@ -16,3 +16,8 @@ services:
|
||||
- "host:${HOST_IP}"
|
||||
volumes:
|
||||
- /opt/telegraf/telegraf.conf:/etc/telegraf/telegraf.conf:ro
|
||||
healthcheck:
|
||||
test: ["CMD-SHELL", "pidof telegraf || exit 1"]
|
||||
interval: 30s
|
||||
timeout: 5s
|
||||
retries: 3
|
||||
|
||||
Reference in New Issue
Block a user