mirror of
https://github.com/tiennm99/composes.git
synced 2026-10-11 12:09:25 +00:00
24 lines
700 B
Bash
24 lines
700 B
Bash
# Copy to .env and fill in. Never commit .env.
|
|
#
|
|
# cp .env.example .env
|
|
|
|
# Admin account, created on first start only.
|
|
# Generate a password with: openssl rand -base64 24
|
|
NEXTCLOUD_ADMIN_USER=admin
|
|
NEXTCLOUD_ADMIN_PASSWORD=
|
|
|
|
# Public hostname, without scheme. The only trusted domain and the CLI URL.
|
|
NEXTCLOUD_DOMAIN=nextcloud.example.com
|
|
|
|
# Space-separated proxy addresses or CIDRs allowed to set X-Forwarded-* headers.
|
|
TRUSTED_PROXIES=10.0.0.0/8 172.16.0.0/12 192.168.0.0/16
|
|
|
|
# PostgreSQL credentials, used by the database and by the first-start install.
|
|
POSTGRES_DB=nextcloud
|
|
POSTGRES_USER=nextcloud
|
|
POSTGRES_PASSWORD=
|
|
|
|
# PHP limits for the web server.
|
|
PHP_MEMORY_LIMIT=1G
|
|
PHP_UPLOAD_LIMIT=16G
|