docker-compose.yml 723 B

12345678910111213141516171819202122232425
  1. services:
  2. bambuddy:
  3. build: .
  4. container_name: bambuddy
  5. # Network mode options:
  6. # - Default (bridge): Works for basic usage, but printer discovery and
  7. # camera streaming may not work since container can't reach LAN directly.
  8. # - Host mode: Required for printer discovery scanning and camera streaming.
  9. # Uncomment "network_mode: host" and remove "ports:" section below.
  10. #
  11. network_mode: host
  12. #ports:
  13. # - "8000:8000"
  14. volumes:
  15. - bambuddy_data:/app/data
  16. - bambuddy_logs:/app/logs
  17. - bambuddy_vprinter:/app/virtual_printer
  18. environment:
  19. - TZ=Europe/Berlin
  20. restart: unless-stopped
  21. volumes:
  22. bambuddy_data:
  23. bambuddy_logs:
  24. bambuddy_vprinter: