mirror of
https://github.com/CoolnsX/selfhost_podman.git
synced 2025-12-20 03:45:16 +05:30
figured out how to run nextcloud imaginary inside pod with uidmap set.
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user