Added healthcheck to IT-Tools
This commit is contained in:
@@ -2,6 +2,12 @@ services:
|
||||
it-tools:
|
||||
image: corentinth/it-tools
|
||||
container_name: it-tools
|
||||
healthcheck:
|
||||
test: ["CMD-SHELL", "wget --no-verbose --tries=1 --spider http://127.0.0.1/ || exit 1"]
|
||||
interval: 30s
|
||||
timeout: 10s
|
||||
retries: 3
|
||||
start_period: 40s
|
||||
labels:
|
||||
- traefik.enable=true
|
||||
- traefik.http.routers.$SUBDOMAIN.rule=Host(`${SUBDOMAIN}.${DOMAIN_NAME}`)
|
||||
|
||||
Reference in New Issue
Block a user