Dinking with klipper.
This commit is contained in:
parent
d7c1f12d4f
commit
fff99c7920
2 changed files with 22 additions and 4 deletions
5
Makefile
5
Makefile
|
@ -3,6 +3,9 @@ lazy-deploy:
|
||||||
ssh printi "cd ~/octoprint && make full-send"
|
ssh printi "cd ~/octoprint && make full-send"
|
||||||
|
|
||||||
full-send:
|
full-send:
|
||||||
|
sudo rm -Rv /dev/printers
|
||||||
|
sudo mkdir -p /dev/printers
|
||||||
|
sudo ln -s /dev/serial/by-path/pci-0000:00:12.1-usb-0:3:1.0-port0 /dev/printers/corexy
|
||||||
docker compose build
|
docker compose build
|
||||||
docker compose down
|
docker compose down
|
||||||
#docker compose up -d
|
docker compose up -d
|
|
@ -3,8 +3,23 @@
|
||||||
|
|
||||||
volumes:
|
volumes:
|
||||||
corexy:
|
corexy:
|
||||||
|
corexy_gcode_files:
|
||||||
|
corexy_moonraker_data:
|
||||||
|
|
||||||
services:
|
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:
|
corexy:
|
||||||
build:
|
build:
|
||||||
context: .
|
context: .
|
||||||
|
@ -16,6 +31,6 @@ services:
|
||||||
- corexy:/octoprint
|
- corexy:/octoprint
|
||||||
#environment:
|
#environment:
|
||||||
# - ENABLE_MJPG_STREAMER=true
|
# - ENABLE_MJPG_STREAMER=true
|
||||||
devices:
|
# devices:
|
||||||
- /dev/ttyACM0:/dev/ttyACM0
|
# - /dev/printers/corexy:/dev/ttyACM0
|
||||||
# - /dev/video0:/dev/video0
|
# # - /dev/video0:/dev/video0
|
Loading…
Reference in a new issue