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
|
||||
|
||||
[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
|
||||
|
||||
Reference in New Issue
Block a user