diff options
author | Eugen Rochko <eugen@zeonfederated.com> | 2020-07-03 21:01:39 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-07-03 21:01:39 +0200 |
commit | 2f2ab48b750ab1fb62a9b7a3ea1c8cc52f3c7366 (patch) | |
tree | 8f697860e0bdd307f9ac7e8de7f3e63b3b462c83 | |
parent | 231802725c2de663c73682f9ddfb5e6de6a2039b (diff) |
Add back a cleaner and leaner .env.production.sample (#14206)
-rw-r--r-- | .env.production.sample | 60 |
1 files changed, 60 insertions, 0 deletions
diff --git a/.env.production.sample b/.env.production.sample new file mode 100644 index 000000000..558ed1880 --- /dev/null +++ b/.env.production.sample @@ -0,0 +1,60 @@ +# 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/admin/config/ for the full documentation. + +# Federation +# ---------- +# This identifies your server and cannot be changed safely later +# ---------- +LOCAL_DOMAIN=example.com + +# Redis +# ----- +REDIS_HOST=localhost +REDIS_PORT=6379 + +# PostgreSQL +# ---------- +DB_HOST=/var/run/postgresql +DB_USER=mastodon +DB_NAME=mastodon_production +DB_PASS= +DB_PORT=5432 + +# ElasticSearch (optional) +# ------------------------ +ES_ENABLED=true +ES_HOST=localhost +ES_PORT=9200 + +# 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.mailgun.org +SMTP_PORT=587 +SMTP_LOGIN= +SMTP_PASSWORD= +SMTP_FROM_ADDRESS=notificatons@example.com + +# File storage (optional) +# ----------------------- +S3_ENABLED=true +S3_BUCKET=files.example.com +AWS_ACCESS_KEY_ID= +AWS_SECRET_ACCESS_KEY= +S3_ALIAS_HOST=files.example.com |