From d440f4a54f5ccd743957e7742936c81f47123d8a Mon Sep 17 00:00:00 2001 From: Eugen Rochko Date: Wed, 26 Sep 2018 00:05:30 +0200 Subject: [PATCH] Add missing variables --- content/en/administration/configuration.md | 26 +++++++++++++++++++--- 1 file changed, 23 insertions(+), 3 deletions(-) diff --git a/content/en/administration/configuration.md b/content/en/administration/configuration.md index b7b25882..714516a4 100644 --- a/content/en/administration/configuration.md +++ b/content/en/administration/configuration.md @@ -11,9 +11,6 @@ Mastodon uses environment variables as its configuration. For convenience, it can read them from a flat file called `.env.production` in the Mastodon directory, but they can always be overridden by a specific process. For example, systemd service files can read environment variables from an `EnvironmentFile` or from inline definitions with `Environment`, so you can have different configuration parameters for specific services. They can also be specified when calling Mastodon from the command line. ## Basic - -- `RAILS_ENV` - ### Federation - `LOCAL_DOMAIN` @@ -27,6 +24,17 @@ For convenience, it can read them from a flat file called `.env.production` in t - `VAPID_PRIVATE_KEY` - `VAPID_PUBLIC_KEY` +### Deployment + +- `RAILS_ENV` +- `RAILS_SERVE_STATIC_FILES` +- `RAILS_LOG_LEVEL` +- `TRUSTED_PROXY_IP` +- `SOCKET` +- `PORT` +- `NODE_ENV` +- `BIND` + ### Scaling options - `WEB_CONCURRENCY` @@ -61,12 +69,20 @@ For convenience, it can read them from a flat file called `.env.production` in t - `ES_ENABLED` - `ES_HOST` - `ES_PORT` +- `ES_PREFIX` + +### StatsD + +- `STATSD_ADDR` +- `STATSD_NAMESPACE` ## Limits - `SINGLE_USER_MODE` - `EMAIL_DOMAIN_WHITELIST` - `DEFAULT_LOCALE` +- `MAX_SESSION_ACTIVATIONS` +- `USER_ACTIVE_DAYS` ## E-mail @@ -193,3 +209,7 @@ For convenience, it can read them from a flat file called `.env.production` in t - `http_proxy` - `ALLOW_ACCESS_TO_HIDDEN_SERVICE` + +## Other + +- `SKIP_POST_DEPLOYMENT_MIGRATIONS`