File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -142,6 +142,10 @@ services:
142142 - shared-network
143143 labels :
144144 - " traefik.enable=true"
145+ # Pin Traefik to shared-network: the app-server temporarily joins agent sandbox
146+ # networks (agent-net-*) during review jobs. Without this label, Traefik can pick
147+ # the sandbox network IP and route requests to an unreachable internal network.
148+ - " traefik.docker.network=shared-network"
145149 - " traefik.http.middlewares.https-application-server-stripprefix.stripprefix.prefixes=/api"
146150 - " traefik.http.middlewares.redirect-to-https.redirectscheme.scheme=https"
147151 - " traefik.http.routers.http-application-server.entryPoints=http"
@@ -152,6 +156,8 @@ services:
152156 - " traefik.http.routers.https-application-server.rule=Host(`${APP_HOSTNAME}`) && PathPrefix(`/api`)"
153157 - " traefik.http.routers.https-application-server.tls.certresolver=letsencrypt"
154158 - " traefik.http.routers.https-application-server.tls=true"
159+ - " traefik.http.services.http-application-server.loadbalancer.server.port=8080"
160+ - " traefik.http.services.https-application-server.loadbalancer.server.port=8080"
155161 - " traefik.http.routers.http-application-server.priority=5"
156162 - " traefik.http.routers.https-application-server.priority=10"
157163 healthcheck :
You can’t perform that action at this time.
0 commit comments