Skip to content

API environment variables description

The variables values in this description are only example values. For a definitive source of truth, in case of outdated documentation, always refer to the .envrc.example file.

Database connection

The API needs a connection to a database. This is achieved through these environment variables:

DB_HOST         = my-sqlserver.database.windows.net
DB_PORT         = 1433
DB_USER         = sa
DB_PASSWORD     = complicatedpassword
DB_NAME         = config-db

File storage

The API stores tenant logos in an Azure Blob Storage. The full storage account URL should be inside the following environment variable. An example value would be ``.

STORAGE_ACCOUNT_URL = https://storageaccountname.blob.core.windows.net/

Authentication provider

The API checks authentication with JWT tokens. These tokens are verified using the following fields:

JWT_AUDIENCE                       = http://localhost:3000
JWT_ISSUER                         = https://witekio-accelerator.eu.auth0.com/
JWT_ISSUER_WELL_KNOWN_URL          = https://witekio-accelerator.eu.auth0.com/.well-known/jwks.json