fix(traefik): explicitly define the traefik entrypoint on :8080
--api.dashboard=true alone wasn't enough - the API returned 404 on every path after enabling it. Traefik apparently doesn't reliably auto-create the default "traefik" entrypoint the way older docs describe; defining it explicitly is the documented, reliable way to get the API/dashboard router actually listening. Still not in ports:, so still only reachable from other containers on falcon_network.
This commit is contained in:
@@ -16,6 +16,9 @@ services:
|
||||
- "--providers.file.watch=true"
|
||||
- "--entrypoints.web.address=:80"
|
||||
- "--entrypoints.web-secure.address=:443"
|
||||
# Internal-only: not in ports: below, so only reachable from other
|
||||
# containers on falcon_network (i.e. pulsenode's traefik widget).
|
||||
- "--entrypoints.traefik.address=:8080"
|
||||
- "--entrypoints.web.http.redirections.entryPoint.to=web-secure"
|
||||
- "--entrypoints.web.http.redirections.entryPoint.scheme=https"
|
||||
- "--entrypoints.web.http.redirections.entryPoint.permanent=true"
|
||||
|
||||
Reference in New Issue
Block a user