diff --git a/homeassistant/readme.md b/homeassistant/readme.md new file mode 100644 index 0000000..143eeec --- /dev/null +++ b/homeassistant/readme.md @@ -0,0 +1,10 @@ +# Homeassistant + +## Major Problem +- The dbus is not working properly on podman, due to this we cannot use bluetooth devices. + - To get around with this you have to add in homeassistant.container + ```ini + UserNS=keep-id + ``` + + - but the above setting, hangs my podman raspberry pi 4, as it actively converts all the files inside the container to another user. So, I have choose to remove dbus as I am not using bluetooth anyway. diff --git a/nextcloud/readme.md b/nextcloud/readme.md new file mode 100644 index 0000000..3897587 --- /dev/null +++ b/nextcloud/readme.md @@ -0,0 +1,18 @@ +# Nextcloud + +The nextcloud image used is actually from linuxserver.io. + +## Major Problem +- The fpm is unable to run as root i.e. you cannot do puid and pgid to 0 and call it a day, it won't work. + - To get Around it, you have to do uidmap. Either on container level, or on pod level if doing pod (as most of us do) + ```ini + UIDMap=${PUID}:0:1 + UIDMap=0:1:${PUID} + ``` + +- Nextcloud Imaginary unable to start when this UIDMap is set on pod level, in which Imaginary is also configured. + - To get around with that, set this in the Imaginary.container file + ```ini + UserNS=auto + ``` + diff --git a/readme.md b/readme.md index ad40139..644201e 100644 --- a/readme.md +++ b/readme.md @@ -1 +1,13 @@ -# make the symlink of the folder you want to use as services to ~/.config/containers/ +# SelfHost using Podman + +- make the symlink of the folder you want to use as services to ~/.config/containers/systemd/ + - for e.g. you want to use nextcloud, then do this -- + ```sh + ln -sf /path/to/this/project/nextcloud ~/.config/containers/systemd/ + ``` + - This will make the nextcloud available in ~/.config/containers/systemd/ + ```txt + ❯ tree ~/.config/containers/systemd + .config/containers/systemd + └── nextcloud -> /home///nextcloud + ```