2019-07-17 23:48:13 +00:00
|
|
|
# https://github.com/tootsuite/mastodon/blob/master/.env.production.sample
|
|
|
|
|
2021-09-23 17:28:50 +00:00
|
|
|
# Federation
|
|
|
|
# ----------
|
|
|
|
# This identifies your server and cannot be changed safely later
|
|
|
|
# ----------
|
|
|
|
LOCAL_DOMAIN=example.com
|
2019-07-17 21:14:32 +00:00
|
|
|
|
2020-01-06 19:27:26 +00:00
|
|
|
# Use this only if you need to run mastodon on a different domain than the one used for federation.
|
2021-09-23 17:28:50 +00:00
|
|
|
# Cloudron: this will change automatically when you change the app's location in Cloudron dashboard
|
2020-01-06 19:27:26 +00:00
|
|
|
WEB_DOMAIN=
|
|
|
|
|
|
|
|
# Database configuration
|
2019-07-17 21:14:32 +00:00
|
|
|
DB_HOST=
|
|
|
|
DB_PORT=
|
|
|
|
DB_NAME=
|
|
|
|
DB_USER=
|
|
|
|
DB_PASS=
|
|
|
|
|
2020-01-06 19:27:26 +00:00
|
|
|
# Service dependencies
|
2019-07-17 21:14:32 +00:00
|
|
|
REDIS_HOST=
|
|
|
|
REDIS_PORT=
|
|
|
|
REDIS_PASSWORD=
|
|
|
|
|
2020-01-06 19:27:26 +00:00
|
|
|
# E-mail configuration
|
2019-07-17 21:14:32 +00:00
|
|
|
SMTP_SERVER=
|
|
|
|
SMTP_PORT=
|
|
|
|
SMTP_FROM_ADDRESS=
|
|
|
|
SMTP_LOGIN=
|
|
|
|
SMTP_PASSWORD=
|
|
|
|
SMTP_AUTH_METHOD=plain
|
|
|
|
SMTP_OPENSSL_VERIFY_MODE=none
|
|
|
|
|
2020-01-06 19:27:26 +00:00
|
|
|
# SSO configuration
|
2019-07-18 16:50:17 +00:00
|
|
|
LDAP_ENABLED=
|
|
|
|
LDAP_HOST=
|
|
|
|
LDAP_PORT=
|
|
|
|
LDAP_BASE=
|
|
|
|
LDAP_BIND_DN=
|
|
|
|
LDAP_PASSWORD=
|
|
|
|
LDAP_UID=username
|
|
|
|
LDAP_SEARCH_FILTER=(|(%{uid}=%{email})(mail=%{email}))
|
2020-01-06 19:19:55 +00:00
|
|
|
LDAP_METHOD=plain
|
2019-07-17 21:14:32 +00:00
|
|
|
|
2020-01-06 19:27:26 +00:00
|
|
|
# Application secrets
|
2019-07-17 21:14:32 +00:00
|
|
|
SECRET_KEY_BASE=
|
|
|
|
OTP_SECRET=
|
|
|
|
|
2023-09-21 17:56:45 +00:00
|
|
|
UPDATE_CHECK_URL=
|
|
|
|
|
2020-01-06 19:27:26 +00:00
|
|
|
# Optionally change default language
|
|
|
|
# DEFAULT_LOCALE=de
|
|
|
|
|