Wanderer Setup using Quadlets #696
Replies: 1 comment
-
|
Hi, just wanted to share that I also use this approach! Control rootless containers as rootThis just simplifies the two-step processs of 1) becoming the user running the containers,
Avoid healthcheck logspamAdd to your Missing dbus etc messagesOne needs to make sure that DBUS is available for systemd. This can be for example done by pasting this into the ~/.profile of the container user. this also allows just using Be careful when adding and deleting usersWhen I tested the quadlet setup, I automated this and then deleted the user again to see if my automation works. Writing this here in the hope that it maybe one day saves someone from this trouble. ;) Environment files for quadletsInstead of duplicating the environment variables, I use lines like this in the container definitions: The corresponding files are in .config/containers/systemd, e.g General plan of quadlets and questionAfter generating these quadlet files
I mean, the effort is in principle quite low, one can look at the history of docker-compose.yml and apply these changes to the quadlets. However it might be nice to distribute a podman-quadlet file? This would save people from manually doing this translation Then again, I really don't understand why podman needed to re-invent docker-compose. What do you think? Best |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
In case anyone is interested, here are my setup notes for using Quadlets instead of docker compose. Happy to get feedback if you would do things differently :)
/etc/containers/systemd/userssudo semanage fcontext -a -f a -t container_file_t -r 's0' '/your/volume/path(/.*)?'sudo restorecon -Rv /your/volume/path/sudo loginctl enable-linger $USERsystemctl --user daemon-reloadsystemctl --user start wanderer-webQuadlet Files
Adapt files to match setup:
wanderer-search.container
wanderer-db.container
wanderer-web.container
wanderer.network
Beta Was this translation helpful? Give feedback.
All reactions