From 328fdd69bd74c76e8bfc36781ab30cf6c8a87618 Mon Sep 17 00:00:00 2001 From: Vyacheslav Matyukhin Date: Tue, 12 Apr 2022 11:05:30 +0300 Subject: [PATCH] docs: infra notes in configuration.md --- docs/configuration.md | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/docs/configuration.md b/docs/configuration.md index 881dc3c..4be5f52 100644 --- a/docs/configuration.md +++ b/docs/configuration.md @@ -1,12 +1,15 @@ # Configuration -Code reads its configuration from the environment variables. All configuration is done through environment variables. Not all of these are necessary to run the code. The most important ones are: - `DIGITALOCEAN_POSTGRES` pointing to the working Postgres database +Environment for production deployments is configured through Terraform, see [infra.md](./infra.md) for details. + +For local development you can write `.env` file by hand or import it from Heroku with `heroku config -s -a metaforecast-backend` and then modify accordingly. + There's also a template configuration file in `../env.example`. ## Database endpoints