fix: add Traefik labels to expose api-ubigeo via reverse proxy
Some checks failed
Deploy / deploy (push) Failing after 4m44s

Container is in the easypanel network — Traefik auto-detects via labels.
Routes api-ubigeo.darkcodex.dev -> port 3200 with Let's Encrypt SSL.
This commit is contained in:
Gianpierre Mio
2026-03-10 08:27:21 -05:00
parent d5d9f45bd3
commit 76b238cba1

View File

@@ -49,6 +49,13 @@ services:
REDIS_URL: "redis://ubigeo-redis:6379"
PORT: 3200
NODE_ENV: production
labels:
- "traefik.enable=true"
- "traefik.http.routers.ubigeo-api.rule=Host(`api-ubigeo.darkcodex.dev`)"
- "traefik.http.routers.ubigeo-api.entrypoints=websecure"
- "traefik.http.routers.ubigeo-api.tls.certresolver=letsencrypt"
- "traefik.http.services.ubigeo-api.loadbalancer.server.port=3200"
- "traefik.docker.network=easypanel"
depends_on:
postgres:
condition: service_healthy