Files

22 lines
747 B
YAML

services:
bambuddy:
image: ghcr.io/maziggy/bambuddy:latest
container_name: bambuddy
network_mode: host # Recommended for automatic printer discovery
volumes:
- ${DATA_PATH}:/app/data
- ${LOGS_PATH}:/app/logs
environment:
- PUID=${PUID:-1000}
- PGID=${PGID:-1000}
- TZ=America/Toronto # Your timezone
- TRUSTED_FRAME_ORIGINS=http://homeassistant.local:8123
- PORT=8870
restart: unless-stopped
# Docker SIGKILLs after 10s by default. Bambuddy stops well inside that,
# but the headroom means a slow teardown (several virtual printers on a Pi)
# can still checkpoint the database instead of being killed mid-write.
stop_grace_period: 30s
volumes:
bambuddy_logs: