uci-nextcloud/.env-example

42 lines
1.5 KiB
Plaintext

# copy this file to just .env and edit for your instance
# GENERAL
# https://timezonedb.com/time-zones
TZ=America/Los_Angles
# NEXTCLOUD-MARIADB
MYSQL_ROOT_PASSWORD=<pw>
MYSQL_PASSWORD=<pw can be same>
MYSQL_DATABASE=nextcloud
MYSQL_USER=nextcloud
# NEXTCLOUD
TRUSTED_PROXIES=<ip where your reverse proxy runs>
NEXTCLOUD_DOMAIN=<domain of reverse proxy>
TRUSTED_DOMAINS=<same as 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