Skip to content

Instantly share code, notes, and snippets.

@BedrockDigger
Created August 9, 2021 07:43
Show Gist options
  • Save BedrockDigger/16221583fd730ca16e22358c362c06d5 to your computer and use it in GitHub Desktop.
Save BedrockDigger/16221583fd730ca16e22358c362c06d5 to your computer and use it in GitHub Desktop.
# 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.
# Federation
# ----------
# This identifies your server and cannot be changed safely later
# ----------
LOCAL_DOMAIN=test.erica.moe
# Redis
# -----
REDIS_HOST=mastodon_redis_1
REDIS_PORT=6379
# PostgreSQL
# ----------
DB_HOST=mastodon_db_1
DB_USER=postgres
DB_NAME=postgres
DB_PASS=
DB_PORT=5432
# ElasticSearch (optional)
# ------------------------
ES_ENABLED=false
ES_HOST=localhost
ES_PORT=9200
# Secrets
# -------
# Make sure to use `rake secret` to generate secrets
# -------
SECRET_KEY_BASE=60f006a74a3afbe9f872a1743ae169e2f8c9fead80778af3d2223406b4c567a1956a4f2843a22e1a9ab912ff101ebeb70509f6327ad552b05d5df88281b02e3b
OTP_SECRET=a093c7c01d5fb8e0382a4fe346c9a40cf6e0d0afeaf7d3b1744c1d612ebe9094a56f2a6941281e29437e6c5a3a80906a68fcdc38c9aece2a1d9b82229a48d3a8
# Web Push
# --------
# Generate with `rake mastodon:webpush:generate_vapid_key`
# --------
VAPID_PRIVATE_KEY=A04eL0nTLYH5oYoEYCfTIHh3vyh_z64zK6u6vThLJw0=
VAPID_PUBLIC_KEY=BJ2MpOoq4CoQSsMCyvBWnQp80FRi1Qr0ubbw5r1fAfRDv4U8hNIhxAg9Ln2wA3671J1ytdEiKerfFDLK5VKd_RU=
# Sending mail
# ------------
SMTP_SERVER=smtp.mailgun.org
SMTP_PORT=587
SMTP_LOGIN=
SMTP_PASSWORD=
[email protected]
# 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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment