Files
derp/docker-compose.yml
user 7698d079f2 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>
2026-02-15 21:40:53 +01:00

19 lines
413 B
YAML

services:
derp:
build:
context: .
dockerfile: Containerfile
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
- ./config/derp.toml:/app/config/derp.toml:ro,Z
- ./data:/app/data:Z
command: ["--verbose"]