Skip to content

Commit

Permalink
set a pretty tight healthcheck
Browse files Browse the repository at this point in the history
  • Loading branch information
sanderegg committed Mar 17, 2021
1 parent d727045 commit 5d159a9
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions services/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -144,6 +144,9 @@ services:
- traefik.http.middlewares.${SWARM_STACK_NAME_NO_HYPHEN}_sslheader.headers.customrequestheaders.X-Forwarded-Proto=http
- traefik.enable=true
- traefik.http.services.${SWARM_STACK_NAME}_webserver.loadbalancer.server.port=8080
- traefik.http.services.${SWARM_STACK_NAME}_webserver.loadbalancer.healthcheck.path=/v0/health
- traefik.http.services.${SWARM_STACK_NAME}_webserver.loadbalancer.healthcheck.interval=1000ms
- traefik.http.services.${SWARM_STACK_NAME}_webserver.loadbalancer.healthcheck.timeout=75ms
- traefik.http.routers.${SWARM_STACK_NAME}_webserver.rule=hostregexp(`{host:.+}`)
- traefik.http.routers.${SWARM_STACK_NAME}_webserver.entrypoints=http
- traefik.http.routers.${SWARM_STACK_NAME}_webserver.priority=1
Expand Down

0 comments on commit 5d159a9

Please sign in to comment.