Add restart: always to local compose services
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:
Leopere 2026-02-09 15:00:11 -05:00
parent 85a286e5f1
commit 2f8d35903c
Signed by: colin
SSH Key Fingerprint: SHA256:nRPCQTeMFLdGytxRQmPVK9VXY3/ePKQ5lGRyJhT5DY8
1 changed files with 2 additions and 0 deletions

View File

@ -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"