mirror of
https://github.com/CoolnsX/selfhost_podman.git
synced 2025-12-20 03:45:16 +05:30
Feat: READMEs
This commit is contained in:
10
homeassistant/readme.md
Normal file
10
homeassistant/readme.md
Normal 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
18
nextcloud/readme.md
Normal 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
|
||||
```
|
||||
|
||||
14
readme.md
14
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/<user>/<project_dir>/nextcloud
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user