Health Checks eingebaut
This commit is contained in:
parent
613df62e32
commit
62b2ee23f4
5 changed files with 67 additions and 5 deletions
|
|
@ -4,7 +4,7 @@ services:
|
|||
container_name: telegraf
|
||||
restart: unless-stopped
|
||||
healthcheck:
|
||||
test: [ "CMD", "curl", "-f", "http://localhost:8094" ]
|
||||
test: [ "CMD-SHELL", "pidof telegraf >/dev/null 2>&1 || exit 1" ]
|
||||
interval: 10s
|
||||
timeout: 3s
|
||||
retries: 12
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue