From 8b3413bde7db13da4d77d24b4c65e784452003ed Mon Sep 17 00:00:00 2001 From: sujiba Date: Thu, 23 May 2024 13:49:51 +0200 Subject: [PATCH] chore: moved vars intro .env file for clarity --- nextcloud/docker-compose.yml | 5 ----- nextcloud/nextcloud.env | 13 ++++++++++++- 2 files changed, 12 insertions(+), 6 deletions(-) diff --git a/nextcloud/docker-compose.yml b/nextcloud/docker-compose.yml index 46c2c05..6e6271f 100644 --- a/nextcloud/docker-compose.yml +++ b/nextcloud/docker-compose.yml @@ -25,11 +25,6 @@ services: environment: - MYSQL_HOST=nc_db - REDIS_HOST=nc_redis - - TRUSTED_PROXIES=172.16.0.0/12 - - OVERWRITEHOST=cloud.example.com - - OVERWRITEPROTOCOL=https - - OVERWRITEWEBROOT=/ - - PHP_UPLOAD_LIMIT=1G env_file: - nextcloud.env ports: diff --git a/nextcloud/nextcloud.env b/nextcloud/nextcloud.env index 1aebc54..f22fbaa 100644 --- a/nextcloud/nextcloud.env +++ b/nextcloud/nextcloud.env @@ -1,3 +1,14 @@ +# Database settings MYSQL_PASSWORD= MYSQL_DATABASE= -MYSQL_USER= \ No newline at end of file +MYSQL_USER= + +# reverse proxy settings +# if you're not a reverse proxy, you must uncomment the following lines +TRUSTED_PROXIES=172.16.0.0/12 +OVERWRITEHOST=cloud.example.com +OVERWRITEPROTOCOL=https +OVERWRITEWEBROOT=/ + +# PHP settings +PHP_UPLOAD_LIMIT=1G \ No newline at end of file