docker-octoprint/docker-compose.yml

36 lines
1,004 B
YAML
Raw Normal View History

# 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:
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
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