mkuf / prind

print in docker - Deploy a containerized Klipper Stack for your 3D Printer

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Not compatible with Portainer

veeroohre opened this issue · comments

I use Portainer for managing my docker container.

Unfortunately the docker compose of prind uses relativ pathes ( ./config) and mounts single files.
This is unfortunately not compatible with the volume approach of Portainer.

Would it be possible to develop a composer file with only volumes? I tried it myself but failed.

The custom directory contains a compose file that is compatible with portainer at https://github.com/mkuf/prind/blob/main/custom/docker-compose.custom.portainer.yaml

The comment at the top of the file describes the required steps to get the services up and running.

-Markus

Haven't seen it. Sorry!

Danke Markus!

In the klipper section in this file there's still a relative mount:
- ./config:/opt/printer_data/config

Would it possible to move that to a volume or "/data/prind/config"?

Good catch, that path should also point to /data/prind/config instead of ./config.
I fixed the path with 0362c28

Mainsail and Octoprint are missing in this file or is it on purpose?

Yes, this is by design, as this project focuses on docker compose compatibility.

As the main compose file is incompatible w/ portainer, die custom file defines just a basic stack with static service definitions to provide a starting point for portainer users. Other services may be added to the portainer file by referencing the main compose file.