# 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.domain }} # Redis # ----- REDIS_HOST=redis REDIS_PORT=6379 # PostgreSQL # ---------- DB_HOST=db DB_USER=postgres DB_NAME=mastodon DB_PASS={{ postgres_passwords.mastodon }} DB_PORT=5432 # ------------------------ ES_ENABLED=false # Secrets # ------- # Make sure to use `rake secret` to generate secrets # ------- SECRET_KEY_BASE={{ mastodon_secrets.secret_key_base }} OTP_SECRET={{ mastodon_secrets.otp_secret }} # Web Push # -------- # Generate with `rake mastodon:webpush:generate_vapid_key` # -------- VAPID_PRIVATE_KEY={{ mastodon_secrets.vapid_private_key }} VAPID_PUBLIC_KEY={{ mastodon_secrets.vapid_public_key }} # Sending mail # ------------ SMTP_SERVER={{ smtp_host }} SMTP_PORT={{ smtp_port }} SMTP_LOGIN= SMTP_PASSWORD= SMTP_FROM_ADDRESS=notifications@{{ mastodon.domain }} # File storage (optional) # ----------------------- S3_ENABLED=false