84 lines
1.9 KiB
Plaintext
84 lines
1.9 KiB
Plaintext
TYPE=mastodon
|
|
|
|
DOMAIN=mastodon.swarm-test.autonomic.zone
|
|
## Domain aliases
|
|
#EXTRA_DOMAINS=', `www.mastodon.example.com`'
|
|
LETS_ENCRYPT_ENV=production
|
|
|
|
# Please look at https://docs.joinmastodon.org/admin/config/ for the full documentation.
|
|
|
|
# Federation
|
|
# This identifies your server and cannot be changed safely later
|
|
LOCAL_DOMAIN=$DOMAIN
|
|
|
|
# Use this only if you need to run mastodon on a different domain than the one used for federation.
|
|
# You can read more about this option on https://docs.joinmastodon.org/admin/config/#web-domain
|
|
# DO *NOT* USE THIS UNLESS YOU KNOW *EXACTLY* WHAT YOU ARE DOING.
|
|
#WEB_DOMAIN=
|
|
|
|
# Use this if you want to have several aliases handler@example1.com
|
|
# handler@example2.com etc. for the same user. LOCAL_DOMAIN should not
|
|
# be added. Comma separated values
|
|
#ALTERNATE_DOMAINS=$EXTRA_DOMAINS
|
|
|
|
# https://docs.joinmastodon.org/admin/config/#authorized_fetch
|
|
AUTHORIZED_FETCH=false
|
|
|
|
# https://docs.joinmastodon.org/admin/config/#limited_federation_mode
|
|
LIMITED_FEDERATION_MODE=false
|
|
|
|
# Deployment
|
|
RAILS_ENV=production
|
|
RAILS_SERVE_STATIC_FILES=true # might need this for traefik, need to test
|
|
#TRUSTED_PROXY_IP=
|
|
|
|
# PostgreSQL
|
|
# ----------
|
|
DB_HOST=db
|
|
DB_USER=mastodon
|
|
DB_NAME=mastodon_production
|
|
DB_PASS=
|
|
DB_PORT=5432
|
|
|
|
REDIS_HOST=redis
|
|
REDIS_PORT=6379
|
|
|
|
# ElasticSearch (optional)
|
|
# ------------------------
|
|
ES_ENABLED=false
|
|
# ES_HOST=localhost
|
|
# ES_PORT=9200
|
|
|
|
# Secrets
|
|
SECRET_KEY_BASE=
|
|
OTP_SECRET=
|
|
|
|
# Web Push
|
|
VAPID_PRIVATE_KEY=
|
|
VAPID_PUBLIC_KEY=
|
|
|
|
# Limits
|
|
SINGLE_USER_MODE=false
|
|
# EMAIL_DOMAIN_ALLOWLIST=
|
|
# EMAIL_DOMAIN_DENYLIST=
|
|
DEFAULT_LOCALE=en
|
|
# MAX_SESSION_ACTIVATIONS=
|
|
# USER_ACTIVE_DAYS=
|
|
|
|
# Sending mail
|
|
# ------------
|
|
# SMTP_SERVER=smtp.mailgun.org
|
|
# SMTP_PORT=587
|
|
# SMTP_LOGIN=
|
|
# SMTP_PASSWORD=
|
|
# SMTP_FROM_ADDRESS=notificatons@example.com
|
|
|
|
# File storage (optional)
|
|
# -----------------------
|
|
# CDN_HOST=
|
|
|
|
S3_ENABLED=false
|
|
# S3_BUCKET=files.example.com
|
|
# AWS_ACCESS_KEY_ID=
|
|
# AWS_SECRET_ACCESS_KEY=
|
|
# S3_ALIAS_HOST=files.example.com |