|
|
@ -20,7 +20,8 @@ services: |
|
|
|
- nextcloud.env |
|
|
|
- nextcloud.env |
|
|
|
- nc_db.env |
|
|
|
- nc_db.env |
|
|
|
environment: |
|
|
|
environment: |
|
|
|
MYSQL_HOST: ${MYSQL_HOST:-nextcloud-db} |
|
|
|
MYSQL_HOST: ${MYSQL_HOST:-db} |
|
|
|
|
|
|
|
REDIS_HOST: ${REDIS_HOST:-redis} |
|
|
|
|
|
|
|
|
|
|
|
db: |
|
|
|
db: |
|
|
|
image: ${DB_IMG:-mariadb}:${DB_TAG:-latest} |
|
|
|
image: ${DB_IMG:-mariadb}:${DB_TAG:-latest} |
|
|
@ -35,6 +36,13 @@ services: |
|
|
|
environment: |
|
|
|
environment: |
|
|
|
MYSQL_ROOT_PASSWORD: ${MYSQL_ROOT_PASSWORD} |
|
|
|
MYSQL_ROOT_PASSWORD: ${MYSQL_ROOT_PASSWORD} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
redis: |
|
|
|
|
|
|
|
image: ${RD_IMG:-redis}:${RD_TAG:-alpine} |
|
|
|
|
|
|
|
container_name: ${RD_CONTAINER_NAME:-nextcloud-redis} |
|
|
|
|
|
|
|
restart: ${RD_RESTART:-unless-stopped} |
|
|
|
|
|
|
|
networks: |
|
|
|
|
|
|
|
- nextcloud |
|
|
|
|
|
|
|
|
|
|
|
networks: |
|
|
|
networks: |
|
|
|
default: |
|
|
|
default: |
|
|
|
external: |
|
|
|
external: |
|
|
|