fix: add Traefik labels to expose api-ubigeo via reverse proxy
Some checks failed
Deploy / deploy (push) Failing after 4m44s
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:
@@ -49,6 +49,13 @@ services:
|
|||||||
REDIS_URL: "redis://ubigeo-redis:6379"
|
REDIS_URL: "redis://ubigeo-redis:6379"
|
||||||
PORT: 3200
|
PORT: 3200
|
||||||
NODE_ENV: production
|
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:
|
depends_on:
|
||||||
postgres:
|
postgres:
|
||||||
condition: service_healthy
|
condition: service_healthy
|
||||||
|
|||||||
Reference in New Issue
Block a user