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