should get thru ci now

This commit is contained in:
coolnsx
2025-08-31 17:38:57 +05:30
parent 393c7f8e3e
commit dce2ed9ae0
4 changed files with 31 additions and 2 deletions

View File

@@ -0,0 +1,17 @@
[Unit]
Description=Push daemon for Nextcloud clients
Documentation=https://github.com/nextcloud/notify_push
Requires=nextcloud.service
After=nextcloud.service
PartOf=nextcloud.service
[Service]
Type=simple
ExecStart=/usr/bin/podman exec -u 1000 nextcloud \
/var/www/html/apps/notify_push/bin/x86_64/notify_push \
/var/www/html/config/config.php
Restart=always
RestartSec=5
[Install]
WantedBy=multi-user.target

View File

@@ -14,15 +14,23 @@ Image=docker.io/library/nextcloud:fpm-alpine
# Enable auto-update container # Enable auto-update container
AutoUpdate=registry AutoUpdate=registry
# pass this to attach it to container
Environment=TZ=${TZ}
# DB credentials
Environment=MYSQL_PASSWORD=${MARIADB_PASSWORD} Environment=MYSQL_PASSWORD=${MARIADB_PASSWORD}
Environment=MYSQL_DATABASE=${MARIADB_DATABASE} Environment=MYSQL_DATABASE=${MARIADB_DATABASE}
Environment=MYSQL_USER=${MARIADB_USER} Environment=MYSQL_USER=${MARIADB_USER}
Environment=MYSQL_HOST=localhost:/tmp/docker/mysqld.sock Environment=MYSQL_HOST=localhost:/tmp/docker/mysqld.sock
# PHP Optimizations
Environment=PHP_MEMORY_LIMIT=2G Environment=PHP_MEMORY_LIMIT=2G
Environment=PHP_UPLOAD_LIMIT=100G Environment=PHP_UPLOAD_LIMIT=100G
Environment=PHP_OPCACHE_MEMORY_CONSUMPTION=256 Environment=PHP_OPCACHE_MEMORY_CONSUMPTION=256
Environment=PHP_MAX_EXECUTION_TIME=7200
# Nextcloud Notify Push socket
Environment=SOCKET_PATH=/tmp/docker/notify_push.sock
Volume=%h/podman/nextcloud/html:/var/www/html Volume=%h/podman/nextcloud/html:/var/www/html
Volume=%h/nextcloud:/var/www/html/data Volume=%h/nextcloud:/var/www/html/data

View File

@@ -10,6 +10,7 @@ Exec=-enable-url-source -cors
# Enable auto-update container # Enable auto-update container
AutoUpdate=registry AutoUpdate=registry
Environment=PORT=9999 Environment=PORT=9999
Environment=TZ=${TZ}
# capabilities # capabilities
AddCapability=CAP_SYS_NICE AddCapability=CAP_SYS_NICE
@@ -19,6 +20,7 @@ HealthCmd=none
HealthInterval=disable HealthInterval=disable
[Service] [Service]
EnvironmentFile=%h/.config/containers/systemd/nextcloud/.env
Restart=always Restart=always
TimeoutStartSec=300 TimeoutStartSec=300

View File

@@ -2,5 +2,7 @@
The nextcloud image is from official nextcloud docker image. The nextcloud image is from official nextcloud docker image.
You Need to have Separate Web Server, as this image is based on PHP-FPM.
## Major Problem ## Major Problem
All Resolved :) All Resolved :)