docker-octoprint/docker-compose.yml

36 lines
No EOL
1,004 B
YAML

# 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:
corexy_gcode_files:
corexy_moonraker_data:
services:
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
# devices:
# - /dev/printers/corexy:/dev/ttyACM0
# # - /dev/video0:/dev/video0