Multiple Octoprint-instances on one machine. Uses systemd-nspawn.
Find a file
2020-05-26 11:47:27 +02:00
src source init 2020-05-26 11:35:37 +02:00
.gitignore Initial commit 2020-05-26 11:33:40 +02:00
hexopi.sh source init 2020-05-26 11:35:37 +02:00
LICENSE Initial commit 2020-05-26 11:33:40 +02:00
Makefile source init 2020-05-26 11:35:37 +02:00
README.adoc README - architecture, installation 2020-05-26 11:47:27 +02:00

# hexopi

Multiple Octoprint-instances on one machine.  Uses systemd-nspawn.

Additionally it installs cron-apt for unattended upgrades.

# Installation

You need to install make:

	sudo apt install gmake

Anything else will be installed automatically:

	sudo make install

# Architecture

For any devices `/dev/ttyUSB*` it creates a octoprint-container.
The octoprint-container based on the system installed at `/var/lib/machines/octoprint`
and has its own directory for changed files `/var/lib/machines/octoprint@ttyUSB*`,
a copy of `/var/lib/machines/octoprint-template`.
You can reach octoprint via `http://{IP|HOST}:2000` for `ttyUSB0`, `http://{IP|HOST}:2001` for `ttyUSB1`, so on...