Added a view healthchecks

This commit is contained in:
Florian Zirker 2023-06-09 08:58:54 +02:00
parent 063ff194e2
commit 0520815da1
8 changed files with 75 additions and 16 deletions

View file

@ -7,6 +7,10 @@ services:
networks:
- web
restart: unless-stopped
healthcheck:
test: ["CMD", "curl" ,"--fail", "localhost"]
interval: 5s
timeout: 3s
labels:
- "traefik.enable=true"
- "traefik.http.routers.webroot.entrypoints=websecure" # All HTTP requests are globally redirected to HTTPS