From 746ca8dca98a5afb8ba4a1cf702829ee16afce81 Mon Sep 17 00:00:00 2001 From: Shane Maynard Date: Sat, 29 Aug 2026 07:09:56 -0400 Subject: [PATCH] fix: define deployment health check --- .gitea/workflows/rebuild.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.gitea/workflows/rebuild.yml b/.gitea/workflows/rebuild.yml index 9b6fb61..ea6cebc 100644 --- a/.gitea/workflows/rebuild.yml +++ b/.gitea/workflows/rebuild.yml @@ -26,6 +26,11 @@ jobs: --name voice \ --network host \ --restart unless-stopped \ + --health-cmd='curl -sk https://localhost:${WEB_PORT:-9178}/ -o /dev/null && curl -s http://localhost:7880/ -o /dev/null' \ + --health-interval=15s \ + --health-timeout=5s \ + --health-retries=3 \ + --health-start-period=20s \ -v /mnt/user/dev/hope-voice-api/certs:/etc/voice/certs \ -v /mnt/user/dev/hope-voice-api/skills:/skills \ -v /mnt/user/dev/hope-voice-api/livekit.yaml:/etc/livekit.yaml:ro \