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:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user