Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions services/traefik/docker-compose.aws.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@ services:
traefik:
command:
- "--api=true"
- "--ping=true"
- "--entryPoints.ping.address=:9082"
- "--ping.entryPoint=ping"
- "--api.dashboard=true"
- "--log.level=${OPS_TRAEFIK_LOGLEVEL}"
- "--accesslog=false"
Expand All @@ -15,11 +18,9 @@ services:
- "--entrypoints.http.http.redirections.entrypoint.to=https"
- "--entrypoints.http.http.redirections.entrypoint.scheme=https"
- "--entrypoints.http.http.redirections.entrypoint.permanent=true"
- "--entryPoints.http.transport.respondingTimeouts.idleTimeout=21600s" #6h, for https://github.com/traefik/traefik/issues/10805
- "--entryPoints.http.transport.respondingTimeouts.writeTimeout=21600s" #6h, for https://github.com/traefik/traefik/issues/10805
- "--entryPoints.http.transport.respondingTimeouts.readTimeout=21600s" #6h, for https://github.com/traefik/traefik/issues/10805
- "--entryPoints.https.address=:443"
- "--entryPoints.https.transport.respondingTimeouts.idleTimeout=21600s" #6h, for https://github.com/traefik/traefik/issues/10805
- "--entryPoints.https.transport.respondingTimeouts.writeTimeout=21600s" #6h, for https://github.com/traefik/traefik/issues/10805
- "--entryPoints.https.transport.respondingTimeouts.readTimeout=21600s" #6h, for https://github.com/traefik/traefik/issues/10805
- "--entryPoints.smtp.address=:25"
Expand Down
5 changes: 3 additions & 2 deletions services/traefik/docker-compose.dalco.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@ services:
traefik:
command:
- "--api=true"
- "--ping=true"
- "--entryPoints.ping.address=:9082"
- "--ping.entryPoint=ping"
- "--api.dashboard=true"
- "--log.level=${OPS_TRAEFIK_LOGLEVEL}"
- "--accesslog=false"
Expand All @@ -15,11 +18,9 @@ services:
- "--entrypoints.http.http.redirections.entrypoint.to=https"
- "--entrypoints.http.http.redirections.entrypoint.scheme=https"
- "--entrypoints.http.http.redirections.entrypoint.permanent=true"
- "--entryPoints.http.transport.respondingTimeouts.idleTimeout=21600s" #6h, for https://github.com/traefik/traefik/issues/10805
- "--entryPoints.http.transport.respondingTimeouts.writeTimeout=21600s" #6h, for https://github.com/traefik/traefik/issues/10805
- "--entryPoints.http.transport.respondingTimeouts.readTimeout=21600s" #6h, for https://github.com/traefik/traefik/issues/10805
- "--entryPoints.https.address=:443"
- "--entryPoints.https.transport.respondingTimeouts.idleTimeout=21600s" #6h, for https://github.com/traefik/traefik/issues/10805
- "--entryPoints.https.transport.respondingTimeouts.writeTimeout=21600s" #6h, for https://github.com/traefik/traefik/issues/10805
- "--entryPoints.https.transport.respondingTimeouts.readTimeout=21600s" #6h, for https://github.com/traefik/traefik/issues/10805
- "--entryPoints.smtp.address=:25"
Expand Down
3 changes: 3 additions & 0 deletions services/traefik/docker-compose.letsencrypt.http.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@ services:
traefik:
command:
- "--api=true"
- "--ping=true"
- "--entryPoints.ping.address=:9082"
- "--ping.entryPoint=ping"
- "--api.dashboard=true"
- "--log.level=${OPS_TRAEFIK_LOGLEVEL}"
- "--accesslog=false"
Expand Down
5 changes: 3 additions & 2 deletions services/traefik/docker-compose.local.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@ services:
- "/bin/sh"
- "/customEntrypoint.sh"
- "--api=true"
- "--ping=true"
- "--entryPoints.ping.address=:9082"
- "--ping.entryPoint=ping"
- "--api.dashboard=true"
- "--log.level=${OPS_TRAEFIK_LOGLEVEL}"
- "--accesslog=true"
Expand All @@ -25,11 +28,9 @@ services:
- "--metrics.prometheus.entryPoint=metrics"
- "--entryPoints.smtp.address=:25"
- "--entryPoints.http.address=:80"
- "--entryPoints.http.transport.respondingTimeouts.idleTimeout=21600s" #6h, for https://github.com/traefik/traefik/issues/10805
- "--entryPoints.http.transport.respondingTimeouts.writeTimeout=21600s" #6h, for https://github.com/traefik/traefik/issues/10805
- "--entryPoints.http.transport.respondingTimeouts.readTimeout=21600s" #6h, for https://github.com/traefik/traefik/issues/10805
- "--entryPoints.https.address=:443"
- "--entryPoints.https.transport.respondingTimeouts.idleTimeout=21600s" #6h, for https://github.com/traefik/traefik/issues/10805
- "--entryPoints.https.transport.respondingTimeouts.writeTimeout=21600s" #6h, for https://github.com/traefik/traefik/issues/10805
- "--entryPoints.https.transport.respondingTimeouts.readTimeout=21600s" #6h, for https://github.com/traefik/traefik/issues/10805
- "--entryPoints.postgres.address=:5432"
Expand Down
5 changes: 3 additions & 2 deletions services/traefik/docker-compose.master.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@ services:
traefik:
command:
- "--api=true"
- "--ping=true"
- "--entryPoints.ping.address=:9082"
- "--ping.entryPoint=ping"
- "--api.dashboard=true"
- "--log.level=${OPS_TRAEFIK_LOGLEVEL}"
- "--accesslog=false"
Expand All @@ -15,11 +18,9 @@ services:
- "--entrypoints.http.http.redirections.entrypoint.to=https"
- "--entrypoints.http.http.redirections.entrypoint.scheme=https"
- "--entrypoints.http.http.redirections.entrypoint.permanent=true"
- "--entryPoints.http.transport.respondingTimeouts.idleTimeout=21600s" #6h, for https://github.com/traefik/traefik/issues/10805
- "--entryPoints.http.transport.respondingTimeouts.writeTimeout=21600s" #6h, for https://github.com/traefik/traefik/issues/10805
- "--entryPoints.http.transport.respondingTimeouts.readTimeout=21600s" #6h, for https://github.com/traefik/traefik/issues/10805
- "--entryPoints.https.address=:443"
- "--entryPoints.https.transport.respondingTimeouts.idleTimeout=21600s" #6h, for https://github.com/traefik/traefik/issues/10805
- "--entryPoints.https.transport.respondingTimeouts.writeTimeout=21600s" #6h, for https://github.com/traefik/traefik/issues/10805
- "--entryPoints.https.transport.respondingTimeouts.readTimeout=21600s" #6h, for https://github.com/traefik/traefik/issues/10805
- "--entryPoints.postgres.address=:5432"
Expand Down
5 changes: 3 additions & 2 deletions services/traefik/docker-compose.public.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@ services:
dns: 8.8.8.8 # This is critical to make the ACME challange work
command:
- "--api=true"
- "--ping=true"
- "--entryPoints.ping.address=:9082"
- "--ping.entryPoint=ping"
- "--api.dashboard=true"
- "--log.level=${OPS_TRAEFIK_LOGLEVEL}"
- "--accesslog=false"
Expand All @@ -17,11 +20,9 @@ services:
- "--entrypoints.http.http.redirections.entrypoint.to=https"
- "--entrypoints.http.http.redirections.entrypoint.scheme=https"
- "--entrypoints.http.http.redirections.entrypoint.permanent=true"
- "--entryPoints.http.transport.respondingTimeouts.idleTimeout=21600s" #6h, for https://github.com/traefik/traefik/issues/10805
- "--entryPoints.http.transport.respondingTimeouts.writeTimeout=21600s" #6h, for https://github.com/traefik/traefik/issues/10805
- "--entryPoints.http.transport.respondingTimeouts.readTimeout=21600s" #6h, for https://github.com/traefik/traefik/issues/10805
- "--entryPoints.https.address=:443"
- "--entryPoints.https.transport.respondingTimeouts.idleTimeout=21600s" #6h, for https://github.com/traefik/traefik/issues/10805
- "--entryPoints.https.transport.respondingTimeouts.writeTimeout=21600s" #6h, for https://github.com/traefik/traefik/issues/10805
- "--entryPoints.https.transport.respondingTimeouts.readTimeout=21600s" #6h, for https://github.com/traefik/traefik/issues/10805
- "--entryPoints.smtp.address=:25"
Expand Down
13 changes: 11 additions & 2 deletions services/traefik/docker-compose.yml.j2
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ services:
init: true
command:
- "--api=true"
- "--ping=true"
- "--entryPoints.ping.address=:9082"
- "--ping.entryPoint=ping"
- "--api.dashboard=true"
- "--accesslog=true"
- "--accesslog.format=json"
Expand All @@ -22,7 +25,6 @@ services:
- "--entryPoints.metrics.address=:8082"
- "--metrics.prometheus.entryPoint=metrics"
- "--entryPoints.http.address=:80"
- "--entryPoints.http.transport.respondingTimeouts.idleTimeout=21600s" #6h, for https://github.com/traefik/traefik/issues/10805
- "--entryPoints.http.transport.respondingTimeouts.writeTimeout=21600s" #6h, for https://github.com/traefik/traefik/issues/10805
- "--entryPoints.http.transport.respondingTimeouts.readTimeout=21600s" #6h, for https://github.com/traefik/traefik/issues/10805
- "--entrypoints.http.http.redirections.entrypoint.to=https"
Expand All @@ -31,7 +33,6 @@ services:
- '--entryPoints.postgres.address=:5432'
- '--entryPoints.postgres2.address=:5433'
- "--entryPoints.https.address=:443"
- "--entryPoints.https.transport.respondingTimeouts.idleTimeout=21600s" #6h, for https://github.com/traefik/traefik/issues/10805
- "--entryPoints.https.transport.respondingTimeouts.writeTimeout=21600s" #6h, for https://github.com/traefik/traefik/issues/10805
- "--entryPoints.https.transport.respondingTimeouts.readTimeout=21600s" #6h, for https://github.com/traefik/traefik/issues/10805
- "--providers.swarm.endpoint=unix:///var/run/docker.sock"
Expand All @@ -43,6 +44,14 @@ services:
- "--tracing.addinternals"
- "--tracing.otlp=true"
- "--tracing.otlp.http=true"
healthcheck:
# NOTE: this healthcheck to check if traefik is up and running must be run on the ping entrypoint defined in command!
test: traefik healthcheck --ping --ping.entryPoint=ping --entryPoints.ping.address=:9082
interval: 10s
timeout: 5s
retries: 5
start_period: 10s
start_interval: 1s
ports:
- target: 80
published: 80
Expand Down
Loading