add dispatch-server compose treakfik config

This commit is contained in:
PxlLoewe
2025-05-27 22:29:22 -07:00
parent fc6060b410
commit a57648e038

View File

@@ -73,14 +73,15 @@ services:
build: build:
context: . context: .
dockerfile: ./apps/dispatch-server/Dockerfile dockerfile: ./apps/dispatch-server/Dockerfile
container_name: dispatch-server
ports:
- "3002:3000"
env_file: env_file:
- .env.prod - .env.prod
networks: networks:
- postgres_network - postgres_network
- redis_network - redis_network
labels:
- "traefik.enable=true"
- "traefik.http.routers.dispatch.rule=Host(`dispatch-server.premiumag.de`)"
- "traefik.http.services.dispatch.loadbalancer.server.port=3000"
depends_on: depends_on:
postgres: postgres:
condition: service_healthy condition: service_healthy