Environment Variables
We try to let most of the things defined through Environment Variables, as 12factor applications’s config. You’ll need to configure them through your hosting provider (for example in Heroku), through a gem like figaro
or through docker-compose env_file
.
Name | Value |
---|---|
DATABASE_URL |
Connection string for the Postgres database |
IDENTIFICATION_PRIVATE_KEY |
The Bulletin Board private key, in JWT format. It should at least include the keys |
RAILS_ENV |
Environment for Ruby on Rails. If it’s on your local machine for development, then it should be |
RAILS_LOG_TO_STDOUT |
If true it will show the log contents on the shell Standard Out. It’s especially relevant for certain hosting providers (for example, Heroku or Docker). It’s also part of 12factor’s recommendations. |
SECRET_KEY_BASE |
Secret key base for the Application. It’s specially important that this is kept secret from the outside word; do NOT publish it on GitHub/GitLab/BitBucket. |
SEED |
Used to force seed test data on production environments, if |