docker-compose.yml 873 B

1234567891011121314151617181920212223242526272829
  1. services:
  2. bambuddy:
  3. image: ghcr.io/maziggy/bambuddy:latest
  4. build: .
  5. # Usage:
  6. # docker compose up -d → pulls pre-built image from ghcr.io
  7. # docker compose up -d --build → builds locally from source
  8. container_name: bambuddy
  9. #
  10. # LINUX: Use host mode for printer discovery and camera streaming
  11. network_mode: host
  12. #
  13. # macOS/WINDOWS: Docker Desktop doesn't support host mode.
  14. # Comment out "network_mode: host" above and uncomment "ports:" below.
  15. # Note: Printer discovery won't work - add printers manually by IP.
  16. #ports:
  17. # - "8000:8000"
  18. volumes:
  19. - bambuddy_data:/app/data
  20. - bambuddy_logs:/app/logs
  21. - bambuddy_vprinter:/app/virtual_printer
  22. environment:
  23. - TZ=Europe/Berlin
  24. restart: unless-stopped
  25. volumes:
  26. bambuddy_data:
  27. bambuddy_logs:
  28. bambuddy_vprinter: