2022-06-17 01:09:15 +01:00
|
|
|
SERVER_NAME= # URL where this will be hosted.
|
2022-08-19 15:27:25 +01:00
|
|
|
FLASK_DEBUG=False
|
2022-06-17 01:09:15 +01:00
|
|
|
|
2022-08-11 17:31:20 +01:00
|
|
|
TZ=Europe/London # Time Zone
|
|
|
|
|
2022-08-20 11:59:33 +01:00
|
|
|
## App Configuration
|
2022-06-17 01:09:15 +01:00
|
|
|
SECRET_KEY= # Long, secure, secret string.
|
|
|
|
DATA=./data/
|
2022-08-20 11:59:33 +01:00
|
|
|
DATABASE_TYPE=SQLite # SQLite or MySQL, defaults to SQLite
|
|
|
|
DATABASE_HOST= # Required if MySQL. Must match name of Docker service, or provide host if database is on an external server. Defaults to localhost.
|
|
|
|
DATABASE_PORT= # Required if MySQL. Defaults to 3306
|
|
|
|
|
|
|
|
## MySQL Database Configuration (Required if configured to MySQL Database.)
|
|
|
|
# Note that if using the Docker service, these configuration values will also be used when creating the database in the mysql container.
|
2022-08-20 14:48:56 +01:00
|
|
|
MYSQL_RANDOM_ROOT_PASSWORD=True
|
2022-08-20 11:59:33 +01:00
|
|
|
MYSQL_DATABASE= # Required if MySQL.
|
|
|
|
MYSQL_USER= # Required if MySQL
|
|
|
|
MYSQL_PASSWORD= # Required if MySQL. Create secure password string. Note '@' character cannot be used.
|
2022-06-17 01:09:15 +01:00
|
|
|
|
|
|
|
## Flask Mail Configuration
|
2022-06-17 02:00:37 +01:00
|
|
|
MAIL_SERVER=postfix # Must match name of the Docker service
|
2022-06-17 01:09:15 +01:00
|
|
|
MAIL_PORT=25
|
|
|
|
MAIL_USE_TLS=False
|
|
|
|
MAIL_USE_SSL=False
|
|
|
|
MAIL_USERNAME= # Username@domain, must match config values below
|
|
|
|
MAIL_PASSWORD= # Must match config value below
|
|
|
|
MAIL_DEFAULT_SENDER= # NoReply@domain or some such.
|
|
|
|
MAIL_MAX_EMAILS=25
|
|
|
|
MAIL_ASCII_ATTACHMENTS=True
|
|
|
|
|
|
|
|
# Postfix
|
|
|
|
maildomain= # Domain must match the section of username above
|
|
|
|
smtp_user= # username:password. Must match config values above.
|