add dispatch-server compose treakfik config
This commit is contained in:
@@ -73,14 +73,15 @@ services:
|
||||
build:
|
||||
context: .
|
||||
dockerfile: ./apps/dispatch-server/Dockerfile
|
||||
container_name: dispatch-server
|
||||
ports:
|
||||
- "3002:3000"
|
||||
env_file:
|
||||
- .env.prod
|
||||
networks:
|
||||
- postgres_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:
|
||||
postgres:
|
||||
condition: service_healthy
|
||||
|
||||
Reference in New Issue
Block a user