towards healthchecks for all containers
This commit is contained in:
@@ -11,6 +11,11 @@ services:
|
||||
environment:
|
||||
USER_CREATION: true
|
||||
DISABLE_PASSWORD_AUTH: false
|
||||
healthcheck:
|
||||
test: ["CMD", "wget", "--no-verbose", "--spider", "http://localhost:8090"]
|
||||
interval: 30s
|
||||
timeout: 10s
|
||||
retries: 3
|
||||
|
||||
beszel-agent:
|
||||
image: henrygd/beszel-agent:0.12.6
|
||||
@@ -26,3 +31,8 @@ services:
|
||||
HUB_URL: http://localhost:8090
|
||||
TOKEN: ${BESZEL_TOKEN:?}
|
||||
KEY: ${BESZEL_KEY:?}
|
||||
healthcheck:
|
||||
test: ["CMD-SHELL", "pidof beszel-agent || exit 1"]
|
||||
interval: 30s
|
||||
timeout: 5s
|
||||
retries: 3
|
||||
|
||||
Reference in New Issue
Block a user