Fix Traefik entrypoint to use web for Cloudflare tunnel compatibility
All checks were successful
CI/CD Pipeline - Apartment Dashboard / Run Linter (push) Successful in 12s
CI/CD Pipeline - Apartment Dashboard / Deploy to Production (push) Successful in 19s
CI/CD Pipeline - Apartment Dashboard / Scan Dependencies (push) Successful in 12s
CI/CD Pipeline - Apartment Dashboard / Build & Push Image (push) Successful in 58s

Cloudflare Tunnel terminates TLS and connects to Traefik on port 80
(web entrypoint), not 443 (websecure). Removes unused TLS labels.
This commit is contained in:
2026-02-10 09:11:56 -07:00
parent 3321ad186f
commit aa0145a6b4

View File

@ -10,9 +10,7 @@ services:
- "traefik.enable=true" - "traefik.enable=true"
- "traefik.docker.network=traefik" - "traefik.docker.network=traefik"
- "traefik.http.routers.apartments.rule=Host(`apartments.maverickapplications.com`)" - "traefik.http.routers.apartments.rule=Host(`apartments.maverickapplications.com`)"
- "traefik.http.routers.apartments.entrypoints=websecure" - "traefik.http.routers.apartments.entrypoints=web"
- "traefik.http.routers.apartments.tls=true"
- "traefik.http.routers.apartments.tls.certresolver=letsencrypt"
- "traefik.http.services.apartments.loadbalancer.server.port=80" - "traefik.http.services.apartments.loadbalancer.server.port=80"
networks: networks:
- traefik - traefik