Fix Nextcloud Redis snapshot permissions and provisioning issues

- Create Redis data directory with correct ownership (UID 999) so Redis
  can write RDB snapshots; root-owned directory caused stop-writes-on-bgsave-error
  which crash-looped Nextcloud background jobs at 400%+ CPU
This commit is contained in:
ml
2026-06-28 17:24:52 +02:00
parent c77b82d835
commit 5ace691215
2 changed files with 12 additions and 6 deletions
@@ -22,7 +22,7 @@ services:
image: redis:7-alpine
container_name: nextcloud-redis
restart: unless-stopped
command: --save "" --loglevel warning
command: --save 60 1 --loglevel warning
volumes:
- {{ nextcloud_data_dir }}/redis:/data
networks: