Merge pull request #497 from BlackDark/fix/apprise

This commit is contained in:
Ralf Vogler 2025-06-12 22:19:42 +02:00 committed by GitHub
commit 7ff4f8837a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -98,6 +98,9 @@ ENV DEPTH=24
# Show browser instead of running headless
ENV SHOW=1
# apprise is installed via pipx, so it is in /root/.local/bin
ENV PATH="/root/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
# mega-linter (KICS, Trivy) complained about it missing - usually this checks some API endpoint, for a container that runs ~1min a healthcheck doesn't make that much sense since playwright has timeouts for everything. Could react to SIGUSR1 and check something in JS - for now we just check that node is running and noVNC is reachable...
HEALTHCHECK --interval=5s --timeout=5s CMD pgrep node && curl --fail http://localhost:6080 || exit 1