2024-05-29 12:10:12 +00:00
|
|
|
# This is an example of how to use the Octoprint on Docker, but this specifically is flavoured around
|
|
|
|
# being run on the ewaste pc put together for the TechInc hackspace 3d printer "fleet".. flotilla? .. Its more like flotsam really.
|
|
|
|
|
|
|
|
volumes:
|
|
|
|
corexy:
|
2024-05-30 08:13:25 +00:00
|
|
|
corexy_gcode_files:
|
|
|
|
corexy_moonraker_data:
|
2024-05-29 12:10:12 +00:00
|
|
|
|
|
|
|
services:
|
2024-05-30 08:13:25 +00:00
|
|
|
corexy-klipper:
|
|
|
|
image: dimalo/klipper-moonraker
|
|
|
|
cap_add:
|
|
|
|
- SYS_NICE
|
|
|
|
ports:
|
|
|
|
- 7001:7125
|
|
|
|
restart: unless-stopped
|
|
|
|
volumes:
|
|
|
|
- corexy_gcode_files:/home/klippy/gcode_files
|
|
|
|
- ./corexy/klipper/config:/home/klippy/.config
|
|
|
|
- corexy_moonraker_data:/home/klippy/.moonraker_database
|
|
|
|
devices:
|
|
|
|
- /dev/printers/corexy:/dev/ttyUSB0
|
2024-05-29 12:10:12 +00:00
|
|
|
corexy:
|
|
|
|
build:
|
|
|
|
context: .
|
|
|
|
target: octoprint-mjpg-streamer
|
|
|
|
restart: unless-stopped
|
|
|
|
ports:
|
|
|
|
- "3000:80"
|
|
|
|
volumes:
|
|
|
|
- corexy:/octoprint
|
|
|
|
#environment:
|
|
|
|
# - ENABLE_MJPG_STREAMER=true
|
2024-05-30 08:13:25 +00:00
|
|
|
# devices:
|
|
|
|
# - /dev/printers/corexy:/dev/ttyACM0
|
|
|
|
# # - /dev/video0:/dev/video0
|