Skip to content

Commit fce1ab3

Browse files
committed
change healthcheck entrypoint to /v0/
timeout with 100ms
1 parent 4781589 commit fce1ab3

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

services/docker-compose.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -144,10 +144,10 @@ services:
144144
- traefik.http.middlewares.${SWARM_STACK_NAME_NO_HYPHEN}_sslheader.headers.customrequestheaders.X-Forwarded-Proto=http
145145
- traefik.enable=true
146146
- traefik.http.services.${SWARM_STACK_NAME}_webserver.loadbalancer.server.port=8080
147-
- traefik.http.services.${SWARM_STACK_NAME}_webserver.loadbalancer.healthcheck.path=/v0/health
147+
- traefik.http.services.${SWARM_STACK_NAME}_webserver.loadbalancer.healthcheck.path=/v0/
148148
- traefik.http.services.${SWARM_STACK_NAME}_webserver.loadbalancer.healthcheck.interval=1000ms
149-
- traefik.http.services.${SWARM_STACK_NAME}_webserver.loadbalancer.healthcheck.timeout=75ms
150-
- traefik.http.middlewares.${SWARM_STACK_NAME}_webserver_retry.retry.attempts=3
149+
- traefik.http.services.${SWARM_STACK_NAME}_webserver.loadbalancer.healthcheck.timeout=100ms
150+
- traefik.http.middlewares.${SWARM_STACK_NAME}_webserver_retry.retry.attempts=2
151151
- traefik.http.routers.${SWARM_STACK_NAME}_webserver.rule=hostregexp(`{host:.+}`)
152152
- traefik.http.routers.${SWARM_STACK_NAME}_webserver.entrypoints=http
153153
- traefik.http.routers.${SWARM_STACK_NAME}_webserver.priority=1
@@ -331,7 +331,7 @@ services:
331331
- "--ping=true"
332332
- "--entryPoints.ping.address=:9082"
333333
- "--ping.entryPoint=ping"
334-
- "--log.level=WARNING"
334+
- "--log.level=INFO"
335335
- "--accesslog=false"
336336
- "--metrics.prometheus=true"
337337
- "--metrics.prometheus.addEntryPointsLabels=true"

0 commit comments

Comments
 (0)