Bambu Lab slicer / studio compose example.
Educational example only. Review every volume path, port, and credential before you run this. Do not copy production secrets into your wiki or git repo.
_shared/.env for non-secrets, _shared/.secret for credentialsmkdir -p /path/to/docker/stacks/bambustudio
cd /path/to/docker/stacks/bambustudio
# paste compose.yaml below, then:
docker compose pull
docker compose up -d
---
services:
bambustudio:
image: lscr.io/linuxserver/bambustudio:latest
container_name: bambustudio
hostname: bambustudio
env_file:
- /path/to/docker/stacks/_shared/.env
- /path/to/docker/stacks/_shared/.secret
environment:
# Optional: set to true for dark mode
- DARK_MODE=true
logging:
driver: json-file
options:
max-file: ${DOCKERLOGGING_MAXFILE:-10} # Max number of log files
max-size: ${DOCKERLOGGING_MAXSIZE:-200k} # Max file size
volumes:
# Map the config directory to a local path
- /path/to/docker/data/bambustudio/config:/config
ports:
# Map host ports to container ports (GUI access)
- 30018:3000
#- 3001:3001
shm_size: "1gb" # Recommended to increase shared memory size
restart: unless-stopped
_shared/.secret.