Still need to specify the variables in the environment: element.
This commit is contained in:
@@ -16,6 +16,11 @@ services:
|
|||||||
command: --transaction-isolation=READ-COMMITTED --binlog-format=ROW
|
command: --transaction-isolation=READ-COMMITTED --binlog-format=ROW
|
||||||
volumes:
|
volumes:
|
||||||
- ../../Volumes/Nextcloud/mariadb:/var/lib/mysql
|
- ../../Volumes/Nextcloud/mariadb:/var/lib/mysql
|
||||||
|
environment:
|
||||||
|
- MYSQL_DATABASE=$MYSQL_DATABASE
|
||||||
|
- MYSQL_ROOT_PASSWORD=$MYSQL_ROOT_PASSWORD
|
||||||
|
- MYSQL_USER=$MYSQL_USER
|
||||||
|
- MYSQL_PASSWORD=$MYSQL_PASSWORD
|
||||||
|
|
||||||
redis:
|
redis:
|
||||||
container_name: nc-redis
|
container_name: nc-redis
|
||||||
@@ -34,5 +39,13 @@ services:
|
|||||||
- redis
|
- redis
|
||||||
volumes:
|
volumes:
|
||||||
- ../../Volumes/Nextcloud/nextcloud:/var/www/html
|
- ../../Volumes/Nextcloud/nextcloud:/var/www/html
|
||||||
|
environment:
|
||||||
|
- MYSQL_DATABASE=$MYSQL_DATABASE
|
||||||
|
- MYSQL_USER=$MYSQL_USER
|
||||||
|
- MYSQL_PASSWORD=$MYSQL_PASSWORD
|
||||||
|
- MYSQL_HOST=$MYSQL_HOST
|
||||||
|
- PHP_UPLOAD_LIMIT=$PHP_UPLOAD_LIMIT
|
||||||
|
- REDIS_HOST=$REDIS_HOST
|
||||||
|
- REDIS_HOST_PASSWORD=$REDIS_HOST_PASSWORD
|
||||||
dns:
|
dns:
|
||||||
- "$DNS"
|
- $DNS
|
||||||
|
@@ -11,5 +11,7 @@ services:
|
|||||||
ports:
|
ports:
|
||||||
- 8000:80
|
- 8000:80
|
||||||
- 4443:443
|
- 4443:443
|
||||||
|
environment:
|
||||||
|
- JWS_SECRET=$JWS_SECRET
|
||||||
dns:
|
dns:
|
||||||
- "$DNS"
|
- $DNS
|
||||||
|
Reference in New Issue
Block a user