mirror of
https://github.com/maziggy/bambuddy.git
synced 2026-09-30 03:01:21 +02:00
- Detect Docker environment automatically via /.dockerenv and cgroup - Show subnet input field in Add Printer dialog when running in Docker - Scan IP range for Bambu printer ports (8883 MQTT, 990 FTPS) - Query SSDP to get printer name/serial/model from discovered IPs - Map raw SSDP model codes to friendly names (BL-P001→X1C, O1D→H2D)
24 lines
655 B
YAML
24 lines
655 B
YAML
services:
|
|
bambuddy:
|
|
build: .
|
|
container_name: bambuddy
|
|
# Network mode options:
|
|
# - Default (bridge): Works for basic usage, but printer discovery and
|
|
# camera streaming may not work since container can't reach LAN directly.
|
|
# - Host mode: Required for printer discovery scanning and camera streaming.
|
|
# Uncomment "network_mode: host" and remove "ports:" section below.
|
|
#
|
|
network_mode: host
|
|
#ports:
|
|
# - "8000:8000"
|
|
volumes:
|
|
- bambuddy_data:/app/data
|
|
- bambuddy_logs:/app/logs
|
|
environment:
|
|
- TZ=Europe/Berlin
|
|
restart: unless-stopped
|
|
|
|
volumes:
|
|
bambuddy_data:
|
|
bambuddy_logs:
|