Skip to content

Commit

Permalink
[v1.78.0] PROD inhouse tip: fix simcore traefik postgres route (ITISF…
Browse files Browse the repository at this point in the history
…oundation#846)

* inhouse tip: fix postgres route

* remove stale comment
  • Loading branch information
YuryHrytsuk authored Nov 6, 2024
1 parent 170a2a4 commit a1a0892
Showing 1 changed file with 36 additions and 0 deletions.
36 changes: 36 additions & 0 deletions services/simcore/docker-compose.deploy.public.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,42 @@ services:
static-webserver:
hostname: "{{.Node.Hostname}}-{{.Service.Name}}"
traefik:
command:
- "--api=true"
- "--api.dashboard=true"
- "--ping=true"
- "--entryPoints.ping.address=:9082"
- "--ping.entryPoint=ping"
- "--log.level=${SIMCORE_TRAEFIK_LOGLEVEL}"
- "--accesslog=false"
- "--metrics.prometheus=true"
- "--metrics.prometheus.addEntryPointsLabels=true"
- "--metrics.prometheus.addServicesLabels=true"
- "--entryPoints.metrics.address=:8082"
- "--metrics.prometheus.entryPoint=metrics"
- "--entryPoints.http.address=:80"
- "--entryPoints.http.forwardedHeaders.insecure"
- "--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.postgres.address=:5432"
- "--entryPoints.simcore_api.address=:10081"
- "--entryPoints.simcore_api.forwardedHeaders.insecure"
- "--entryPoints.simcore_api.transport.respondingTimeouts.idleTimeout=21600s" #6h, for https://github.com/traefik/traefik/issues/10805
- "--entryPoints.simcore_api.transport.respondingTimeouts.writeTimeout=21600s" #6h, for https://github.com/traefik/traefik/issues/10805
- "--entryPoints.simcore_api.transport.respondingTimeouts.readTimeout=21600s" #6h, for https://github.com/traefik/traefik/issues/10805
- "--entryPoints.traefik_monitor.address=:8080"
- "--entryPoints.traefik_monitor.forwardedHeaders.insecure"
- "--providers.swarm.endpoint=unix:///var/run/docker.sock"
- "--providers.swarm.network=${SWARM_STACK_NAME}_default"
# https://github.com/traefik/traefik/issues/7886
- "--providers.swarm.refreshSeconds=1"
- "--providers.swarm.exposedByDefault=false"
- "--providers.swarm.constraints=Label(`io.simcore.zone`, `${TRAEFIK_SIMCORE_ZONE}`)"
- "--tracing"
- "--tracing.addinternals"
- "--tracing.otlp=true"
- "--tracing.otlp.http=true"
deploy:
labels:
- prometheus-job=traefik_simcore_production
Expand Down

0 comments on commit a1a0892

Please sign in to comment.