You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
75 lines
2.3 KiB
Django/Jinja
75 lines
2.3 KiB
Django/Jinja
MAX_TOOT_CHARS={{mastodon_docker_max_post_length}}
|
|
LOCAL_DOMAIN={{mastodon_docker_domain}}
|
|
|
|
# Redis
|
|
# -----
|
|
REDIS_HOST=redis
|
|
REDIS_PORT=6379
|
|
|
|
# PostgreSQL
|
|
# ----------
|
|
DB_HOST=db
|
|
DB_USER=mastodon
|
|
DB_NAME=mastodon_production
|
|
DB_PASS=
|
|
DB_PORT=5432
|
|
|
|
# Elasticsearch (optional)
|
|
# ------------------------
|
|
ES_ENABLED={{mastodon_docker_enable_elasticsearch}}
|
|
ES_HOST=es
|
|
ES_PORT=9200
|
|
# Authentication for ES (optional)
|
|
ES_USER=elastic
|
|
ES_PASS=password
|
|
|
|
# Secrets
|
|
# -------
|
|
# Make sure to use `bundle exec rails secret` to generate secrets
|
|
# -------
|
|
SECRET_KEY_BASE={{ mastodon_docker_mastodon_secret }}
|
|
|
|
# Encryption secrets
|
|
# ------------------
|
|
# Must be available (and set to same values) for all server processes
|
|
# These are private/secret values, do not share outside hosting environment
|
|
# Use `bin/rails db:encryption:init` to generate fresh secrets
|
|
# Do NOT change these secrets once in use, as this would cause data loss and other issues
|
|
# ------------------
|
|
ACTIVE_RECORD_ENCRYPTION_DETERMINISTIC_KEY={{mastodon_docker_ar_encryption_deterministic_key}}
|
|
ACTIVE_RECORD_ENCRYPTION_KEY_DERIVATION_SALT={{mastodon_docker_ar_encryption_derivation_salt}}
|
|
ACTIVE_RECORD_ENCRYPTION_PRIMARY_KEY={{mastodon_docker_ar_encryption_primary_key}}
|
|
|
|
# Web Push
|
|
# --------
|
|
# Generate with `bundle exec rails mastodon:webpush:generate_vapid_key`
|
|
# --------
|
|
VAPID_PRIVATE_KEY={{mastodon_docker_vapid_public}}
|
|
VAPID_PUBLIC_KEY={{mastodon_docker_vapid_private}}
|
|
|
|
# Sending mail
|
|
# ------------
|
|
SMTP_SERVER={{mastodon_docker_smtp.server}}
|
|
SMTP_PORT=587{{mastodon_docker_smtp.port}}
|
|
SMTP_LOGIN={{mastodon_docker_smtp.login}}
|
|
SMTP_PASSWORD={{mastodon_docker_smtp.password}}
|
|
SMTP_FROM_ADDRESS={{mastodon_docker_smtp.from}}
|
|
|
|
# File storage (optional)
|
|
# -----------------------
|
|
S3_ENABLED=false
|
|
S3_BUCKET=files.example.com
|
|
AWS_ACCESS_KEY_ID=
|
|
AWS_SECRET_ACCESS_KEY=
|
|
S3_ALIAS_HOST=files.example.com
|
|
|
|
# Optional list of hosts that are allowed to serve media for your instance
|
|
# EXTRA_MEDIA_HOSTS=https://data.example1.com,https://data.example2.com
|
|
|
|
# IP and session retention
|
|
# -----------------------
|
|
# Make sure to modify the scheduling of ip_cleanup_scheduler in config/sidekiq.yml
|
|
# to be less than daily if you lower IP_RETENTION_PERIOD below two days (172800).
|
|
# -----------------------
|
|
IP_RETENTION_PERIOD=31556952
|
|
SESSION_RETENTION_PERIOD=31556952 |