Add restart: always to local compose services
ci/woodpecker/push/woodpecker Pipeline was successful
Details
ci/woodpecker/push/woodpecker Pipeline was successful
Details
Ensures tunnel clients and test services restart automatically whenever Docker is available, including after host reboots. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
parent
85a286e5f1
commit
2f8d35903c
|
|
@ -3,6 +3,7 @@
|
||||||
services:
|
services:
|
||||||
test-http:
|
test-http:
|
||||||
image: nginx:alpine
|
image: nginx:alpine
|
||||||
|
restart: always
|
||||||
volumes:
|
volumes:
|
||||||
- ./test-index.html:/usr/share/nginx/html/index.html:ro
|
- ./test-index.html:/usr/share/nginx/html/index.html:ro
|
||||||
expose:
|
expose:
|
||||||
|
|
@ -12,6 +13,7 @@ services:
|
||||||
build:
|
build:
|
||||||
context: .
|
context: .
|
||||||
target: client
|
target: client
|
||||||
|
restart: always
|
||||||
environment:
|
environment:
|
||||||
TUNNEL_SERVER: "ingress.nixc.us:2222"
|
TUNNEL_SERVER: "ingress.nixc.us:2222"
|
||||||
TUNNEL_DOMAIN: "testrst.nixc.us"
|
TUNNEL_DOMAIN: "testrst.nixc.us"
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue