# This is a sample configuration file. You can generate your configuration # with the `rake mastodon:setup` interactive setup wizard, but to customize # your setup even further, you'll need to edit it manually. This sample does # not demonstrate all available configuration options. Please look at # https://docs.joinmastodon.org/admin/config/ for the full documentation. # Note that this file accepts slightly different syntax depending on whether # you are using `docker-compose` or not. In particular, if you use # `docker-compose`, the value of each declared variable will be taken verbatim, # including surrounding quotes. # See: https://github.com/mastodon/mastodon/issues/16895 # Federation # ---------- # This identifies your server and cannot be changed safely later # ---------- LOCAL_DOMAIN={{ mastodon_host }} # Redis # ----- REDIS_HOST={{ redis_host }} REDIS_PORT={{ redis_port }} # PostgreSQL # ---------- DB_HOST={{ mastodon_db_login_unix_socket }} DB_USER={{ mastodon_db_user }} DB_NAME={{ mastodon_db }} DB_PASS={{ mastodon_db_password }} DB_PORT={{ mastodon_db_port }} # Elasticsearch (optional) # ------------------------ ES_ENABLED={{ es_enabled }} ES_HOST={{ es_host }} ES_PORT={{ es_port }} # Authentication for ES (optional) ES_USER={{ es_user }} ES_PASS={{ es_pass }} # Secrets # ------- # Make sure to use `rake secret` to generate secrets # ------- SECRET_KEY_BASE= OTP_SECRET= # Web Push # -------- # Generate with `rake mastodon:webpush:generate_vapid_key` # -------- VAPID_PRIVATE_KEY= VAPID_PUBLIC_KEY= # Sending mail # ------------ SMTP_SERVER={{ smtp_server }} SMTP_PORT={{ smtp_port | default(587) }} SMTP_LOGIN={{ smtp_login | default('') }} SMTP_PASSWORD={{ smtp_password | default('') }} SMTP_FROM_ADDRESS={{ smtp_from_address }} # File storage (optional) # ----------------------- S3_ENABLED={{ s3_enabled }} S3_BUCKET={{ s3_bucket }} AWS_ACCESS_KEY_ID={{ aws_access_key_id }} AWS_SECRET_ACCESS_KEY={{ aws_secret_access_key }} S3_ALIAS_HOST={{ s3_alias_host}}