Add variable for redis password
This commit is contained in:
parent
92516ed493
commit
5b2b5b3086
|
@ -14,8 +14,6 @@ services:
|
|||
restart: always
|
||||
volumes:
|
||||
- /opt/appdata/nextcloud/mysql:/var/lib/mysql
|
||||
environment:
|
||||
- MYSQL_ROOT_PASSWORD=nextcloud
|
||||
env_file:
|
||||
- db.env
|
||||
container_name: nextcloud-db
|
||||
|
@ -25,6 +23,7 @@ services:
|
|||
redis:
|
||||
image: redis:alpine
|
||||
container_name: nextcloud-redis
|
||||
command: redis-server --requirepass ${REDIS_PASSWORD}
|
||||
networks:
|
||||
- backend-nextcloud
|
||||
restart: always
|
||||
|
|
Loading…
Reference in New Issue