fix: switch to k8s-file log driver for reliable log capture

journald was dropping early startup logs. k8s-file writes directly
to disk, captures from process start, and is lighter on the Pi.
Capped at 10 MB with automatic rotation.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
user
2026-02-15 21:40:53 +01:00
parent 604a0a5830
commit 7698d079f2

View File

@@ -6,6 +6,10 @@ services:
container_name: derp
network_mode: host
restart: unless-stopped
logging:
driver: k8s-file
options:
max_size: 10mb
volumes:
- ./src:/app/src:ro,Z
- ./plugins:/app/plugins:ro,Z