Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not compatible with Portainer #165

Closed
veeroohre opened this issue Jul 10, 2024 · 6 comments
Closed

Not compatible with Portainer #165

veeroohre opened this issue Jul 10, 2024 · 6 comments

Comments

@veeroohre
Copy link

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.

@mkuf
Copy link
Owner

mkuf commented Jul 10, 2024

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

@veeroohre
Copy link
Author

veeroohre commented Jul 10, 2024

Haven't seen it. Sorry!

Danke Markus!

@veeroohre
Copy link
Author

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"?

@mkuf
Copy link
Owner

mkuf commented Jul 10, 2024

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

@veeroohre
Copy link
Author

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

@mkuf
Copy link
Owner

mkuf commented Jul 10, 2024

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.

@mkuf mkuf closed this as completed Jul 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants