mirror of
https://github.com/dimalo/klipper-web-control-docker.git
synced 2026-05-06 08:48:08 +02:00
add example for multiple printers to docker-compose.yml
This commit is contained in:
@@ -24,6 +24,30 @@ services:
|
||||
# devices:
|
||||
# - /dev/ttyUSB0:/dev/ttyUSB0
|
||||
|
||||
klipper_another_printer:
|
||||
image: dimalo/klipper-moonraker
|
||||
build:
|
||||
dockerfile: ./klipper/Dockerfile
|
||||
context: .
|
||||
# args:
|
||||
# DEVICE_GROUP: device
|
||||
# DEVICE_GID: 987
|
||||
container_name: klipper_another_printer
|
||||
ports:
|
||||
- 7126:7125
|
||||
restart: unless-stopped
|
||||
volumes:
|
||||
- gcode_files:/home/klippy/gcode_files
|
||||
# be aware to create your own branch if you mount the config folder as it will be updated on the main branch
|
||||
# that way you can merge upstream changes to your (developed) configs...
|
||||
- ./config_another_printer:/home/klippy/.config
|
||||
# - ./another_printer.cfg:/home/klippy/.config/printer.cfg
|
||||
|
||||
# mount serial device - take care to grant sufficient permissions to the device: <host_dev>:<container_dev>
|
||||
# devices:
|
||||
# - /dev/ttyACM0:/dev/ttyACM0
|
||||
|
||||
|
||||
fluidd:
|
||||
image: cadriel/fluidd
|
||||
container_name: fluidd
|
||||
@@ -31,8 +55,10 @@ services:
|
||||
- 8010:80
|
||||
depends_on:
|
||||
- klipper
|
||||
# - klipper_another_printer
|
||||
links:
|
||||
- klipper:klipper
|
||||
# - klipper_another_printer:klipper_another_printer
|
||||
|
||||
mainsail:
|
||||
image: dimalo/mainsail
|
||||
|
||||
Reference in New Issue
Block a user