mirror of
https://github.com/CoolnsX/selfhost_podman.git
synced 2025-12-20 11:55: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
|
Description=Nextcloud Imaginary Container
|
||||||
|
|
||||||
[Container]
|
[Container]
|
||||||
|
Pod=nextcloud.pod
|
||||||
ContainerName=nextcloud_imaginary
|
ContainerName=nextcloud_imaginary
|
||||||
Image=docker.io/nextcloud/aio-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
|
# Enable auto-update container
|
||||||
AutoUpdate=registry
|
AutoUpdate=registry
|
||||||
# capabilities
|
# capabilities
|
||||||
AddCapability=CAP_SYS_NICE
|
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]
|
[Service]
|
||||||
Restart=always
|
Restart=always
|
||||||
|
|||||||
@@ -5,7 +5,7 @@ Description=Nextcloud Redis Container
|
|||||||
Pod=nextcloud.pod
|
Pod=nextcloud.pod
|
||||||
ContainerName=nextcloud_redis
|
ContainerName=nextcloud_redis
|
||||||
Image=docker.io/library/redis:alpine
|
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
|
# Enable auto-update container
|
||||||
AutoUpdate=registry
|
AutoUpdate=registry
|
||||||
|
|||||||
Reference in New Issue
Block a user