Configuration¶
PPI.bio deployments are configured using .env
files.
Here are the environment variables you can configure:
Variable |
Description |
---|---|
|
A secret key used for cryptographic purposes. Make this secure. |
|
A database URL that conforms to this schema. This is the same 12Factor-style schema that Dokku and Heroku use. |
|
Whether the website should be in Debug mode. In Debug mode, error stacktraces are reproduced. For security reasons, |
|
The language code for the interface. Currently only supports and defaults to |
|
The timezone the server is running on. Defaults to UTC. |
|
Number of workers per instance of the job queue task runner, Django Q. |
|
Max time for a job to take before being retried (in seconds). Defaults to 60000. |
|
From what domain should static files be served. Only relevant when |
|
A database URL that conforms to this schema pointing to a Redis server. This is the same 12Factor-style schema that Dokku and Heroku use. |
|
What domain should the site be served from. “localhost” is a good value for local development. |
|
The Mailgun private key, used for sending newsletter emails. |
|
The Mailgun webhook key, used for sending newsletter emails. |
|
Where emails are sent from |
|
The domain from which Mailgun will send emails. |