mirror of
https://github.com/maziggy/bambuddy.git
synced 2026-09-30 11:12:35 +02:00
- Add multi-architecture support: linux/amd64 and linux/arm64 (Raspberry Pi 4/5)
- Add docker-publish.sh script for building and pushing images
- Supports --parallel flag for simultaneous architecture builds
- Uses Docker Buildx with QEMU emulation
- Update docker-compose.yml to support both pre-built and source builds
- `docker compose up -d` pulls pre-built image
- `docker compose up -d --build` builds from source
30 lines
925 B
YAML
30 lines
925 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
|
|
# 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
|
|
- bambuddy_vprinter:/app/virtual_printer
|
|
environment:
|
|
- TZ=Europe/Berlin
|
|
restart: unless-stopped
|
|
|
|
volumes:
|
|
bambuddy_data:
|
|
bambuddy_logs:
|
|
bambuddy_vprinter:
|