feat: Add password on REDIS to fix migration to 20.0.1
See discussion on https://help.nextcloud.com/t/solved-latest-docker-image-broke-the-installation-redis-password-auth/87598/15
This commit is contained in:
parent
8690539930
commit
9dbeda11db
|
@ -23,3 +23,7 @@ POSTGRES_PASSWORD=password-example
|
||||||
POSTGRES_DB=postgres-database-name-example
|
POSTGRES_DB=postgres-database-name-example
|
||||||
POSTGRES_CONTAINER_NAME=nextcloud-postgres
|
POSTGRES_CONTAINER_NAME=nextcloud-postgres
|
||||||
POSTGRES_VOLUME_NAME=nextcloud-postgres
|
POSTGRES_VOLUME_NAME=nextcloud-postgres
|
||||||
|
|
||||||
|
# REDIS
|
||||||
|
|
||||||
|
NEXTCLOUD_REDIS_PASSWORD=redis-password
|
||||||
|
|
|
@ -37,6 +37,7 @@ services:
|
||||||
POSTGRES_PASSWORD: ${POSTGRES_PASSWORD}
|
POSTGRES_PASSWORD: ${POSTGRES_PASSWORD}
|
||||||
POSTGRES_USER: ${POSTGRES_USER}
|
POSTGRES_USER: ${POSTGRES_USER}
|
||||||
REDIS_HOST: 'nextcloud-redis'
|
REDIS_HOST: 'nextcloud-redis'
|
||||||
|
REDIS_HOST_PASSWORD: ${NEXTCLOUD_REDIS_PASSWORD}
|
||||||
PUID: 1001
|
PUID: 1001
|
||||||
PGID: 119
|
PGID: 119
|
||||||
labels:
|
labels:
|
||||||
|
@ -61,9 +62,10 @@ services:
|
||||||
- /etc/localtime:/etc/localtime:ro
|
- /etc/localtime:/etc/localtime:ro
|
||||||
|
|
||||||
nextcloud-redis:
|
nextcloud-redis:
|
||||||
image: redis:6.0.8-alpine
|
image: redis:6.0.9-alpine
|
||||||
container_name: nextcloud-redis
|
container_name: nextcloud-redis
|
||||||
restart: always
|
restart: always
|
||||||
|
command: redis-server --requirepass ${NEXTCLOUD_REDIS_PASSWORD}
|
||||||
environment:
|
environment:
|
||||||
PUID: 1001
|
PUID: 1001
|
||||||
PGID: 119
|
PGID: 119
|
||||||
|
|
Loading…
Reference in New Issue