From dc3a682a77b8f5c9c95823835476e1bb07f95506 Mon Sep 17 00:00:00 2001 From: Fionn Date: Wed, 19 Apr 2023 22:29:09 +0200 Subject: [PATCH] documentation on environment variables --- README.md | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/README.md b/README.md index 2f93384..8a1b337 100644 --- a/README.md +++ b/README.md @@ -16,3 +16,17 @@ Tags: ## Configuration IASsure-WX can be configured using the `wx-config.json`-file. For now it contains test data but will include production data for at least the Langen FIR. It necessary, another file can be mounted on top of it (`/opt/wx-config.json`). You may also choose to make the necessary changes to the file in this repository. The file is documented in the schema definition file (`wx-config.schema.json`). + +## Environment Variables + +Some options can be defined using environment variables: + +```bash +# defines the port, the application will listen on +PORT=3000 +# defines the base path used for the api +BASE_PATH=/api +# defines ips that are allowed as proxy ips +# See http://expressjs.com/en/guide/behind-proxies.html +TRUST_PROXY_ID= +```