fix: update socat command and correct port for betterbahn-proxy service

This commit is contained in:
Philip Henning 2025-08-31 20:51:45 +02:00
parent 7b02df593c
commit b5a1d9fb7a

View file

@ -14,12 +14,12 @@ services:
depends_on: [betterbahn]
# Share the app's network namespace so we can reach 127.0.0.1:3000
network_mode: "service:betterbahn"
command: ["sh", "-c", "socat TCP-LISTEN:8080,fork,reuseaddr TCP:127.0.0.1:3000"]
command: ["socat", "TCP-LISTEN:8080,fork,reuseaddr", "TCP:127.0.0.1:3000"]
labels:
- "traefik.enable=true"
- "traefik.docker.network=dokploy-network"
- "traefik.http.services.betterbahn-app.loadbalancer.server.port=3000" # set port the container listenes to
- "traefik.http.services.betterbahn-app.loadbalancer.server.port=8080" # set port the container listenes to
- "traefik.http.services.betterbahn-app.loadbalancer.server.scheme=http"
- "traefik.http.routers.betterbahn-app-web.rule=Host(`${PUBLIC_DOMAIN}`)"