mirror of
https://github.com/CoolnsX/selfhost_podman.git
synced 2025-12-20 03:45:16 +05:30
Compare commits
2 Commits
adff932635
...
25823302fd
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
25823302fd | ||
|
|
f6b669ae56 |
@@ -19,7 +19,7 @@ php occ app:install notify_push || true
|
|||||||
php occ app:enable notify_push || true
|
php occ app:enable notify_push || true
|
||||||
|
|
||||||
echo "[*] Starting notify_push binary..."
|
echo "[*] Starting notify_push binary..."
|
||||||
/var/www/html/apps/notify_push/bin/x86_64/notify_push &
|
/var/www/html/custom_apps/notify_push/bin/x86_64/notify_push &
|
||||||
NOTIFY_PID=$!
|
NOTIFY_PID=$!
|
||||||
|
|
||||||
# Wait for the socket to appear, max 30 seconds
|
# Wait for the socket to appear, max 30 seconds
|
||||||
|
|||||||
@@ -3,14 +3,11 @@ Description=Nextcloud Container
|
|||||||
Requires=nextcloud_db.service nextcloud_valkey.service
|
Requires=nextcloud_db.service nextcloud_valkey.service
|
||||||
After=nextcloud_db.service nextcloud_valkey.service
|
After=nextcloud_db.service nextcloud_valkey.service
|
||||||
|
|
||||||
AssertPathIsDirectory=%h/podman/nextcloud
|
|
||||||
AssertPathIsDirectory=%h/podman/nextcloud/html
|
|
||||||
AssertPathIsDirectory=%h/nextcloud
|
|
||||||
|
|
||||||
[Container]
|
[Container]
|
||||||
Pod=nextcloud.pod
|
Pod=nextcloud.pod
|
||||||
ContainerName=nextcloud
|
ContainerName=nextcloud
|
||||||
Image=docker.io/library/nextcloud:fpm-alpine
|
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"]
|
||||||
|
|
||||||
# Enable auto-update container
|
# Enable auto-update container
|
||||||
AutoUpdate=registry
|
AutoUpdate=registry
|
||||||
@@ -28,6 +25,7 @@ Volume=%h/podman/nextcloud/html:/var/www/html
|
|||||||
Volume=%h/nextcloud:/var/www/html/data
|
Volume=%h/nextcloud:/var/www/html/data
|
||||||
Volume=./zz-docker.conf:/usr/local/etc/php-fpm.d/zz-docker.conf
|
Volume=./zz-docker.conf:/usr/local/etc/php-fpm.d/zz-docker.conf
|
||||||
Volume=${EXTERNAL_DIR}:${EXTERNAL_DIR}
|
Volume=${EXTERNAL_DIR}:${EXTERNAL_DIR}
|
||||||
|
Volume=./nextcloud-entrypoint.sh:/nextcloud-entrypoint.sh
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
# pass this to autofill above variables
|
# pass this to autofill above variables
|
||||||
|
|||||||
Reference in New Issue
Block a user