Updates nextcloud, fixes wallabag, synapse

This commit is contained in:
2026-04-17 21:23:39 +02:00
parent e4e3a36c4a
commit 81834b3851
6 changed files with 19 additions and 6 deletions
+6 -1
View File
@@ -1,2 +1,7 @@
#!/bin/bash
/root/scripts/rclone --log-level INFO --log-file /var/log/rclone-parents.log sync --exclude nextcloud.log --exclude qbittorrent/storage/downloads/** --exclude jdownloader/storage/output/* --links /var/mnt/nas/containers encrypted-parents:Backup/containers
if [[ -d "/var/mnt/nas/containers" ]]; then
echo "Running rclone"
/root/scripts/rclone --log-level INFO --log-file /var/log/rclone-parents.log sync --exclude nextcloud.log --exclude qbittorrent/storage/downloads/** --exclude jdownloader/storage/output/* --links /var/mnt/n>
else
echo "Missing containers directory!"
fi
+6
View File
@@ -0,0 +1,6 @@
#!/bin/sh
set -o errexit -o noclobber -o nounset
# ALSO https://github.com/wallabag/wallabag/issues/8360
chown -R nobody:nobody /var/www/wallabag/app/config /var/www/wallabag/var /var/www/wallabag/data /var/www/wallabag/web || echo "Couldn't chown"
/entrypoint.sh wallabag
+1 -1
View File
@@ -12,7 +12,7 @@ AutoUpdate=registry
ContainerName=nextcloud-cron
Entrypoint=/cron.sh
Environment=TZ=Europe/Zurich
Image=docker.io/nextcloud:32
Image=docker.io/nextcloud:33
Label=io.containers.autoupdate=registry
Pod=nextcloud.pod
StartWithPod=true
+3 -3
View File
@@ -10,13 +10,13 @@ AutoUpdate=registry
ContainerName=nextcloud
Environment=MYSQL_DATABASE=nextcloud
Environment=MYSQL_HOST=nextcloud-database
Environment=NEXTCLOUD_TRUSTED_DOMAINS=localhost host.containers.internal nextcloud.gtache.ch
Environment=NEXTCLOUD_TRUSTED_DOMAINS="localhost host.containers.internal nextcloud.gtache.ch"
Environment=PHP_MEMORY_LIMIT=2048M
Environment=PHP_UPLOAD_LIMIT=100G
Environment=REDIS_HOST=nextcloud-redis
Environment=TRUSTED_PROXIES=192.168.0.0/16 172.16.0.0/12 169.254.0.0/16 10.0.0.0/8
Environment=TRUSTED_PROXIES="192.168.0.0/16 172.16.0.0/12 169.254.0.0/16 10.0.0.0/8"
Environment=TZ=Europe/Zurich
Image=docker.io/nextcloud:32
Image=docker.io/nextcloud:33
Label=io.containers.autoupdate=registry
Pod=nextcloud.pod
Secret=database-user,type=env,target=MYSQL_USER
+1 -1
View File
@@ -6,7 +6,7 @@ AutoUpdate=registry
ContainerName=synapse-database
Environment=POSTGRES_USER=synapse
Environment=POSTGRES_DB=synapse
Environment=POSTGRES_INITDB_ARGS=--encoding=UTF-8 --lc-collate=C --lc-ctype=C
Environment=POSTGRES_INITDB_ARGS="--encoding=UTF-8 --lc-collate=C --lc-ctype=C"
Environment=TZ=Europe/Zurich
HealthCmd=pg_isready -U synapse
HealthInterval=30s
+2
View File
@@ -8,6 +8,7 @@ Requires=wallabag-redis.container
[Container]
AutoUpdate=registry
ContainerName=wallabag
Entrypoint=/custom-entrypoint.sh
Environment=POSTGRES_DB=wallabag
Environment=POSTGRES_USER=wallabag
Environment=SYMFONY__ENV__DATABASE_DRIVER=pdo_pgsql
@@ -34,6 +35,7 @@ StartWithPod=true
Timezone=Europe/Zurich
Volume=wallabag-data.volume:/var/www/wallabag/data
Volume=wallabag-images.volume:/var/www/wallabag/web/assets/images
Volume=/var/mnt/nas/containers/wallabag/storage/custom-entrypoint.sh:/custom-entrypoint.sh
[Service]
Restart=always