fix: Send data handler output to container logs
All checks were successful
Build (and tag) Images / Build data_handler Image (push) Successful in 39s
Build (and tag) Images / Build web Image (push) Successful in 55s

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This commit is contained in:
Copilot 2026-11-15 14:28:07 +01:00
commit 5ce403cec2
Signed by: ViMaSter
GPG key ID: 6D787326BA7D6469

View file

@ -58,9 +58,9 @@ services:
db:
condition: service_healthy
restart: true
# if the latest `update_camera_*.log` contains "error", fail the healthcheck
# if the latest update output contains "error", fail the healthcheck
healthcheck:
test: ["CMD", "sh", "-c", "ls /var/log | grep '^update_camera_' | xargs -I {} sh -c 'grep -q error /var/log/{} || exit 0; exit 1'"]
test: ["CMD", "sh", "-c", "test \"$(cat /run/update_camera.status)\" = ok"]
interval: 10s
timeout: 5s
start_period: 30s