No longer in development - better alternative without Docker exists; use https://github.com/paukstelis/octoprint_deploy instead - also supports webcams!
This project aims to make it possible for anyone to set up multiple instances of OctoPrint with SimplyPrint, on a single Raspberry Pi (or any Linux-based system).
- (when using a Raspberry Pi); Flash the Raspberry Pi with the "Raspberry Pi OS lite (32-bit)" OS (use the Raspberry Pi Flasher software)
- Download the following two files (by clicking on the link;) "ssh" and "wpa_supplicant.conf" and add them to the boot drive of the SD card
- Open the "wpa_supplicant.conf" and change network details (network SSID, password and country)
- Connect to your Pi / Linux machine via. SSH or by plugging a keyboard into the device
- Now download and run the installation script;
- Run the command; (copy the line and enter)
curl https://raw.githubusercontent.com/SimplyPrint/Multi-Instance-Setup/main/docker_setup.sh -o docker_setup.sh && sudo bash docker_setup.sh && logout
- (this can take a few minutes, and it will restart when it's done)
- Connect to it again, and run the setup script, it will ask for your input; follow the setup steps described.
cd simplyprint/ && bash instance_setup.sh
- After it is set up the octoprint instances will be at the raspberry pi's IP with port 800, 801, 802.. and so on fx http://10.78.16.35:800
Restart command for octoprint: redirfd -w 2 /dev/null s6-svscanctl -t /var/run/s6/services