-
Notifications
You must be signed in to change notification settings - Fork 296
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
Podman section for documentation #1882
base: master
Are you sure you want to change the base?
Conversation
It's work in progress. Following issues exist: - There is no `release` tag in the docker image. See [shaarli#1875](shaarli#1875) - Example NGINX reverse proxy config is missing - Example of generating systemd unit files and install them is missing
* Make a note regarding the broken `release` tag * Add systemd section
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That's really nice!
Maybe it could benefit a small mention in Installation.md
?
Co-authored-by: nodiscc <[email protected]>
Co-authored-by: nodiscc <[email protected]>
Since the NGINX process in the container is running with UID 100 and GID 101 the file ownership for the podman volumes have to be adjusted in the user namespace of the container/pod. This is done with the `podman unshare` command in line 50.
Sorry for the delay, this is still on my radar, I think my last attempt to deploy it with the updated instructions/ |
Hi, I now have a working Shaarli deployment using rootless podman. Most of what is documented in this PR is correct but could be simplified. In short, there are 4 possible ways [1] [2] [3] [4] [5] [6] to run podman containers:
We are obviously aiming for the last solution which provides the most isolation/security. A non-root user will not have privileges to run Also I did a bit of refactoring on the documentation in #2025 (migration to sphinx + reorganization and cleanup). I'd like to merge https://shaarli.readthedocs.io/en/master/Docker.html into https://shaarli.readthedocs.io/en/master/Installation.html as it's just another installation method, and it can be shortened. Once this is done, and as Podman setup steps are extremely similar to Docker, I'd like the podman documentation to also be found on the Keeping this open until then. |
Hi @nodiscc, |
Hi @Tronde, I did a bit of work on this some time ago, made a crude ansible role excerpt here to install a shaarli instance using podman, mostly based on your instructions, I think it was mostly working, so I'd say it's almost good to merge. What needs to be done here, is merging the podman documentation with the docker one, so that we don't end up with two pages that are 90% duplicates of each other. I had started working on this a while ago but my draft seems to have been lost 😭 . If you want, you can have a go at it in this PR. The https://shaarli.readthedocs.io/en/master/Docker.html page has a lot of extra (and possibly outdated) information, don't be afraid of removing/cleaning up things. |
Hi @nodiscc, |
There seems to be some interest in a Podman section for the documentation. With this PR I'd like to provide one to close #1874.