49 lines
1.6 KiB
Plaintext
49 lines
1.6 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
|
||
|
|
||
|
# 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="$NEXTCLOUD_DOMAIN,<machine domain running docker>,<IP of machine running docker>"
|
||
|
# default set at onboarding, also can change password after onboarding
|
||
|
NEXTCLOUD_ADMIN_USER=admin
|
||
|
NEXTCLOUD_ADMIN_PASSWORD=admin
|
||
|
|
||
|
HOST_GROUP_ID=1001
|
||
|
HOST_USER_ID=1001
|
||
|
|
||
|
# 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>"
|
||
|
|
||
|
# 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 with proper owner/group
|
||
|
# use the provided script
|
||
|
# must uncomment driver and driver opts in docker-compose.yml in the volumes stanza
|
||
|
HOST_NEXTCLOUD_PARENT_DIR=$PWD/nextcloud
|
||
|
HOST_NEXTCLOUD_SRC=${HOST_NEXTCLOUD_PARENT_DIR}/src
|
||
|
HOST_NEXTCLOUD_USERFILES=${HOST_NEXTCLOUD_PARENT_DIR}/user-files
|
||
|
HOST_NEXTCLOUD_DB=${HOST_NEXTCLOUD_PARENT_DIR}/db
|
||
|
|
||
|
|
||
|
|
||
|
|