chore: moved vars intro .env file for clarity
This commit is contained in:
parent
e14601d67c
commit
8b3413bde7
2 changed files with 12 additions and 6 deletions
|
@ -25,11 +25,6 @@ services:
|
||||||
environment:
|
environment:
|
||||||
- MYSQL_HOST=nc_db
|
- MYSQL_HOST=nc_db
|
||||||
- REDIS_HOST=nc_redis
|
- REDIS_HOST=nc_redis
|
||||||
- TRUSTED_PROXIES=172.16.0.0/12
|
|
||||||
- OVERWRITEHOST=cloud.example.com
|
|
||||||
- OVERWRITEPROTOCOL=https
|
|
||||||
- OVERWRITEWEBROOT=/
|
|
||||||
- PHP_UPLOAD_LIMIT=1G
|
|
||||||
env_file:
|
env_file:
|
||||||
- nextcloud.env
|
- nextcloud.env
|
||||||
ports:
|
ports:
|
||||||
|
|
|
@ -1,3 +1,14 @@
|
||||||
|
# Database settings
|
||||||
MYSQL_PASSWORD=
|
MYSQL_PASSWORD=
|
||||||
MYSQL_DATABASE=
|
MYSQL_DATABASE=
|
||||||
MYSQL_USER=
|
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
|
Loading…
Add table
Add a link
Reference in a new issue