fix: update socat command and correct port for betterbahn-proxy service
This commit is contained in:
parent
7b02df593c
commit
b5a1d9fb7a
1 changed files with 2 additions and 2 deletions
|
@ -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}`)"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue