figured out how to run nextcloud imaginary inside pod with uidmap set.

This commit is contained in:
coolnsx
2025-03-24 12:26:15 +05:30
parent e4aa4a63d9
commit 65e059f672
2 changed files with 6 additions and 4 deletions

View File

@@ -2,16 +2,18 @@
Description=Nextcloud Imaginary Container
[Container]
Pod=nextcloud.pod
ContainerName=nextcloud_imaginary
Image=docker.io/nextcloud/aio-imaginary
Exec="/start.sh -enable-url-source -cors -return-size"
Exec=-enable-url-source -cors -return-size
# Enable auto-update container
AutoUpdate=registry
# capabilities
AddCapability=CAP_SYS_NICE
Environment=PORT=11000
PublishPort=11000:11000
# this does not map any uid from host as this fucker doesn't like it.
UserNS=auto
[Service]
Restart=always

View File

@@ -5,7 +5,7 @@ Description=Nextcloud Redis Container
Pod=nextcloud.pod
ContainerName=nextcloud_redis
Image=docker.io/library/redis:alpine
Exec=redis-server --unixsocket /tmp/docker/redis.sock --unixsocketperm 777
Exec=--unixsocket /tmp/docker/redis.sock --unixsocketperm 777
# Enable auto-update container
AutoUpdate=registry