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>
19 lines
413 B
YAML
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"]
|