BACAKROSA
Klipper-Docker
We are proudly produce to you LRGEX Klipper-docker which is a docker container that contains Fluidd,klipper and moonraker all together in one solution, and to add more spice we also added LRGEX-Backarosa which will backup and restore all of your settings at once and it works on both x86/Arm archetectures
What are we using to accomplish this?
- we used Kiauh as main source of the installation of Fluidd/mainsail,klipper and moonraker
How to install LRGEX Klipper-Docker ?
To install Fluidd, Klipper, moonraker and Backarosa :
Create a docker-compose.yml file ,copy the example below and edit your settings to what suits you. the most important thing is to edit the devices "/dev/ttyUSB0:/dev/ttyUSB0" and change it for your USB tty. you can find more information on how to do it here.
example:
version: '3.8'
services:
klipper:
image: lrgex/klipper-docker:kmf-v2.5
container_name: LRGEX-klipper
restart: always
privileged: true
cap_add:
- SYS_ADMIN
security_opt:
- seccomp=unconfined
cgroup_parent: docker.slice
cgroup: private
tmpfs:
- /tmp
- /run
- /run/lock
volumes:
- klipper-config:/home/lrgex/printer_data
ports:
- "5001:80"
- "7125:7125"
devices:
- "/dev/ttyUSB0:/dev/ttyUSB0"
klipper-backarosa:
image: lrgex/backarosa
container_name: klipper-backarosa
restart: no
command: backup
volumes:
- /mnt/backups/klipper:/backup
- klipper-config:/source:ro
- /var/run/docker.sock:/var/run/docker.sock
environment:
- KEEP_VERSIONS=2
- LOCAL_BACKUP=true
- TZ=Asia/Riyadh
volumes:
klipper-config:
# external: true
name: klipper-config
To install Mainsail, Klipper, moonraker and Backarosa:
Create a docker-compose.yml file ,copy the example below and edit your settings to what suits you. the most important thing is to edit the devices "/dev/ttyUSB0:/dev/ttyUSB0" and change it for your USB tty. you can find more information on how to do it here.
example:
version: '3.8'
services:
klipper:
image: lrgex/klipper-docker:kmm-v2.5
container_name: LRGEX-klipper
restart: always
privileged: true
cap_add:
- SYS_ADMIN
security_opt:
- seccomp=unconfined
cgroup_parent: docker.slice
cgroup: private
tmpfs:
- /tmp
- /run
- /run/lock
volumes:
- klipper-config:/home/lrgex/printer_data
ports:
- "5001:80"
- "7125:7125"
devices:
- "/dev/ttyUSB0:/dev/ttyUSB0"
klipper-backarosa:
image: lrgex/backarosa
container_name: klipper-backarosa
restart: no
command: backup
volumes:
- /mnt/backups/klipper:/backup
- klipper-config:/source:ro
- /var/run/docker.sock:/var/run/docker.sock
environment:
- KEEP_VERSIONS=2
- LOCAL_BACKUP=true
- TZ=Asia/Riyadh
volumes:
klipper-config:
# external: true
name: klipper-config
To manually install what you need from Kiauh:
Create a docker-compose.yml file ,copy the example below and edit your settings to what suits you. the most important thing is to edit the devices "/dev/ttyUSB0:/dev/ttyUSB0" and change it for your USB tty. you can find more information on how to do it here.
example:
version: '3.8'
services:
klipper:
image: lrgex/klipper-docker:manual-v2.5
container_name: LRGEX-klipper
restart: always
privileged: true
cap_add:
- SYS_ADMIN
security_opt:
- seccomp=unconfined
cgroup_parent: docker.slice
cgroup: private
tmpfs:
- /tmp
- /run
- /run/lock
volumes:
- klipper-config:/home/lrgex/printer_data
ports:
- "5001:80"
- "7125:7125"
devices:
- "/dev/ttyUSB0:/dev/ttyUSB0"
klipper-backarosa:
image: lrgex/backarosa
container_name: klipper-backarosa
restart: no
command: backup
volumes:
- /mnt/backups/klipper:/backup
- klipper-config:/source:ro
- /var/run/docker.sock:/var/run/docker.sock
environment:
- KEEP_VERSIONS=2
- LOCAL_BACKUP=true
- TZ=Asia/Riyadh
volumes:
klipper-config:
# external: true
name: klipper-config
After docker pull do this :
sudo docker exec -it LRGEX-klipper bash
then
su lrgex
then
./kiauh.sh

