docker-compose.yml 925 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. # Network mode options:
  10. # - Default (bridge): Works for basic usage, but printer discovery and
  11. # camera streaming may not work since container can't reach LAN directly.
  12. # - Host mode: Required for printer discovery scanning and camera streaming.
  13. # Uncomment "network_mode: host" and remove "ports:" section below.
  14. #
  15. network_mode: host
  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: