Feat: READMEs

This commit is contained in:
coolnsx
2025-03-28 22:43:28 +05:30
parent 5cd1b69986
commit 7029b5c8a4
3 changed files with 41 additions and 1 deletions

10
homeassistant/readme.md Normal file
View File

@@ -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.

18
nextcloud/readme.md Normal file
View File

@@ -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
```

View File

@@ -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/<user>/<project_dir>/nextcloud
```