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 \