60 lines
1.8 KiB
Plaintext
60 lines
1.8 KiB
Plaintext
# must invoke docker compose with supplied scripts.
|
|
# Best to copy this file to just .env and edit for your instance
|
|
|
|
COMPOSE_PROJECT_NAME=nextcloud
|
|
|
|
# https://timezonedb.com/time-zones
|
|
TZ=America/Los_Angles
|
|
|
|
# default is sqlite, mariadb or mysql, postgres
|
|
# SQL_DB_TYPE=mysql
|
|
|
|
# sqlite default db name
|
|
# SQLITE_DATABASE=nextcloud-db
|
|
|
|
# mariadb/mysql
|
|
# MYSQL_ROOT_PASSWORD=nextcloud1234
|
|
# MYSQL_HOST=nextcloud
|
|
# MYSQL_PASSWORD=nextcloud1234
|
|
# MYSQL_DATABASE=nextcloud
|
|
# MYSQL_USER=nextcloud
|
|
|
|
# postgres
|
|
# MYSQL_ROOT_PASSWORD=nextcloud1234
|
|
# MYSQL_PASSWORD=nextcloud1234
|
|
# MYSQL_DATABASE=nextcloud
|
|
# MYSQL_USER=nextcloud
|
|
|
|
|
|
|
|
# NEXTCLOUD
|
|
TRUSTED_PROXIES="<ip where your reverse proxy runs>"
|
|
NEXTCLOUD_DOMAIN="<domain of reverse proxy>"
|
|
TRUSTED_DOMAINS="$NEXTCLOUD_DOMAIN,<machine domain running docker>,<IP of machine running docker>"
|
|
# default set at onboarding, also can change password after onboarding
|
|
# IMPORTANT! if not set here then source backup script will use 'admin' as user by default
|
|
NEXTCLOUD_ADMIN_USER=admin
|
|
NEXTCLOUD_ADMIN_PASSWORD=admin
|
|
|
|
|
|
# USING SENDGRID FOR SENDING EMAILS (gmail example)
|
|
MAIL_DOMAIN=gmail.com
|
|
MAIL_FROM_ADDRESS="<gmail address>"
|
|
SMTP_SECURE=ssl
|
|
SMTP_HOST=smtp.gmail.com
|
|
SMTP_PORT=465
|
|
SMTP_NAME="<just your google account name (no @gmail.com)>"
|
|
SMTP_PASSWORD="<a 16 character app password generated from your google account>"
|
|
|
|
# volumes can be found at /var/lib/docker/volumes but can be bound else via below
|
|
# DOCKER HOST Volume Bindings Parent Directory
|
|
# use only if you need/want to bind the three <db,src,user-files> volumes elsewhere for easier access
|
|
# will create up to three directories parent/nextcloud/<volume>
|
|
# must pre make all the directories <parent>/nextcloud/<volume> == db,src,user-files
|
|
# must uncomment driver and driver opts in docker-compose.yml in the volumes stanza
|
|
# HOST_NEXTCLOUD_PARENT_DIR=/data
|
|
|
|
|
|
|
|
|