Files
bambuddy/docker-compose.yml
T
2026-01-02 12:28:32 +01:00

30 lines
873 B
YAML

services:
bambuddy:
image: ghcr.io/maziggy/bambuddy:latest
build: .
# Usage:
# docker compose up -d → pulls pre-built image from ghcr.io
# docker compose up -d --build → builds locally from source
container_name: bambuddy
#
# LINUX: Use host mode for printer discovery and camera streaming
network_mode: host
#
# macOS/WINDOWS: Docker Desktop doesn't support host mode.
# Comment out "network_mode: host" above and uncomment "ports:" below.
# Note: Printer discovery won't work - add printers manually by IP.
#ports:
# - "8000:8000"
volumes:
- bambuddy_data:/app/data
- bambuddy_logs:/app/logs
- bambuddy_vprinter:/app/virtual_printer
environment:
- TZ=Europe/Berlin
restart: unless-stopped
volumes:
bambuddy_data:
bambuddy_logs:
bambuddy_vprinter: