feat: revert to custom entrypoint file

This commit is contained in:
coolnsx
2025-10-02 13:39:40 +05:30
parent 25823302fd
commit 87d43313cd
3 changed files with 49 additions and 22 deletions

View File

@@ -7,7 +7,7 @@ After=nextcloud_db.service nextcloud_valkey.service
Pod=nextcloud.pod
ContainerName=nextcloud
Image=docker.io/library/nextcloud:fpm-alpine
Entrypoint=["/bin/sh","-c","sed -i 's/www-data/1000/g' /entrypoint.sh && exec /entrypoint.sh php-fpm"]
Entrypoint=/nextcloud-entrypoint.sh
# Enable auto-update container
AutoUpdate=registry
@@ -23,7 +23,6 @@ EnvironmentFile=./.env
Volume=%h/podman/nextcloud/html:/var/www/html
Volume=%h/nextcloud:/var/www/html/data
Volume=./zz-docker.conf:/usr/local/etc/php-fpm.d/zz-docker.conf
Volume=${EXTERNAL_DIR}:${EXTERNAL_DIR}
Volume=./nextcloud-entrypoint.sh:/nextcloud-entrypoint.sh