feat: moved shared volume in pod in nextcloud

This commit is contained in:
coolnsx
2025-04-15 15:33:19 +05:30
parent 57e1bafa0a
commit ff12aff1be
7 changed files with 8 additions and 6 deletions

View File

@@ -14,7 +14,6 @@ AutoUpdate=registry
EnvironmentFile=./.env
Volume=%h/podman/nextcloud/config:/config
Volume=%h/podman/nextcloud/.socket:/tmp/docker
Volume=%h/nextcloud:/data
Volume=${EXTERNAL_DIR}:${EXTERNAL_DIR}

View File

@@ -4,6 +4,7 @@ Description=Nextcloud Pod
[Pod]
PodName=nextcloud
PublishPort=8080:80
Volume=%h/podman/nextcloud/.socket:/tmp/docker
# to satisfy nextcloud bitch permissions problems
UIDMap=1000:0:1

View File

@@ -13,7 +13,6 @@ AutoUpdate=registry
EnvironmentFile=./.env
Volume=%h/podman/nextcloud/db:/var/lib/mysql
Volume=%h/podman/nextcloud/.socket:/tmp/docker
[Service]
# pass this to autofill above variables

View File

@@ -5,7 +5,7 @@ Description=Nextcloud Imaginary Container
Pod=nextcloud.pod
ContainerName=nextcloud_imaginary
Image=docker.io/nextcloud/aio-imaginary
Exec=-enable-url-source -cors -return-size
Exec=-enable-url-source -cors
# Enable auto-update container
AutoUpdate=registry
@@ -15,6 +15,10 @@ AddCapability=CAP_SYS_NICE
# this does not map any uid from host as this fucker doesn't like it.
UserNS=auto
# disable healthcheck
HealthCmd=none
HealthInterval=disable
[Service]
Restart=always
TimeoutStartSec=300

View File

@@ -13,7 +13,6 @@ AutoUpdate=registry
EnvironmentFile=./.env
Volume=%h/podman/nextcloud/redis:/data
Volume=%h/podman/nextcloud/.socket:/tmp/docker
[Service]
# pass this to autofill above variables