fix: ensure betterbahn-proxy service restarts unless stopped
This commit is contained in:
parent
c4b527d5f3
commit
02d070b9dd
1 changed files with 1 additions and 0 deletions
|
@ -12,6 +12,7 @@ services:
|
||||||
betterbahn-proxy:
|
betterbahn-proxy:
|
||||||
image: alpine/socat:latest
|
image: alpine/socat:latest
|
||||||
depends_on: [betterbahn]
|
depends_on: [betterbahn]
|
||||||
|
restart: unless-stopped
|
||||||
# Share the app's network namespace so we can reach 127.0.0.1:3000
|
# Share the app's network namespace so we can reach 127.0.0.1:3000
|
||||||
network_mode: "service:betterbahn"
|
network_mode: "service:betterbahn"
|
||||||
command: ["TCP-LISTEN:8080,fork,reuseaddr", "TCP:127.0.0.1:3000"]
|
command: ["TCP-LISTEN:8080,fork,reuseaddr", "TCP:127.0.0.1:3000"]
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue