diff --git a/compose.yml b/compose.yml index 34051a4..d28e43c 100644 --- a/compose.yml +++ b/compose.yml @@ -27,6 +27,12 @@ services: - "traefik.http.routers.${STACK_NAME}_api.rule=Host(`${DOMAIN}`) && PathPrefix(`/api/v1`, `/dav/`, `/.well-known/`)" - "traefik.http.routers.${STACK_NAME}_api.entrypoints=web-secure" - "traefik.http.routers.${STACK_NAME}_api.tls.certresolver=${LETS_ENCRYPT_ENV}" + healthcheck: + test: [ "wget", "--no-verbose", "--tries=1", "--spider", "http://localhost:3456/health"] + interval: 30s + timeout: 10s + retries: 10 + start_period: 1m app: image: vikunja/frontend:0.20.1