Add nextcloud container

This commit is contained in:
2023-02-03 18:03:50 +01:00
parent 7f5dacb710
commit 85ec051700
5 changed files with 224 additions and 0 deletions

View File

@@ -0,0 +1,2 @@
[mariadb]
log_warnings = 3

View File

@@ -0,0 +1,2 @@
[mariadb]
skip-name-resolve = ON

View File

@@ -0,0 +1,7 @@
[Unit]
Description=Nextcloud cron.php job
Wants=nextcloudcron.timer
[Service]
ExecStart=/bin/podman exec -u www-data nextcloud php -f /var/www/html/cron.php
Type=oneshot

View File

@@ -0,0 +1,11 @@
[Unit]
Description=Run Nextcloud cron.php every 5 minutes
Requires=nextcloudcron.service
[Timer]
Unit=nextcloudcron.service
OnBootSec=5min
OnUnitActiveSec=5min
[Install]
WantedBy=timers.target