- Create a copy of
moonraker-obico.cfg.sample
in a directory of your choice.
cp moonraker-obico.cfg.sample /opt/mydir/moonraker-obico.cfg
-
Set the
[moonraker].host
and[moonraker].port
in the newly created config file, according to the Documentation, making sure to not set the[server].auth_token
. -
Open the Obico Webinterface or App to obtain the 6-digit verification code for a
Klipper
-Type Printer. -
Replace
/opt/mydir/moonraker-obico.cfg
in the following command with the path to your configuration file and run it. Enter the Code obtained in the previous step, when promted.
docker run --rm -it \
-v /opt/mydir/moonraker-obico.cfg:/opt/printer_data/config/moonraker-obico.cfg \
--entrypoint /opt/venv/bin/python \
ghcr.io/thespaghettidetective/moonraker-obico:latest \
-m moonraker_obico.link -c /opt/printer_data/config/moonraker-obico.cfg
- Check that your configuration file now contains a value for
[server].auth_token
Given that your moonraker-obico.cfg now contains a valid [server].auth_token
, a container may be started using the following command:
docker run -d \
--name moonraker-obico \
--privileged \
-v /opt/mydir/moonraker-obico.cfg:/opt/printer_data/config/moonraker-obico.cfg \
ghcr.io/thespaghettidetective/moonraker-obico:latest