Add missing variables

This commit is contained in:
Eugen Rochko 2018-09-26 00:05:30 +02:00
parent 6cc1f21b6f
commit d440f4a54f
1 changed files with 23 additions and 3 deletions

View File

@ -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`