Skip to main content

Environment variables

VariableMandatoryDescriptionPossible valuesDefaultCondition
PORT✔️Port on which the API is listening. Do not forget to open ports on docker container if you change this value.*8080None
REGISTRY_SERVER_ENDPOINT✔️This is the endpoint at which logs are sent and collector updates are downloaded from.https://registry.invoice-collector.comhttps://registry.invoice-collector.comNone
DATABASE_URI✔️Uri of the MongoDB used to store the data. The credentials are not stored in this database.*mongodb://mongodb:27017None
DATABASE_MONGODB_NAME✔️Name of the database to use.*prodIf DATABASE_URI starts with mongodb
SECRET_MANAGER_TYPE✔️Type of secret manager to use. This is where the credentials are stored.bitwardenbitwardenNone
SECRET_MANAGER_BITWARDEN_API_URI✔️API URI for Bitwarden.https://vault.bitwarden.eu/api or https://vault.bitwarden.com/apihttps://vault.bitwarden.eu/apiIf SECRET_MANAGER_TYPE is bitwarden
SECRET_MANAGER_BITWARDEN_IDENTITY_URI✔️Identity URI for Bitwarden.https://vault.bitwarden.eu/identity or https://vault.bitwarden.com/identityhttps://vault.bitwarden.eu/identityIf SECRET_MANAGER_TYPE is bitwarden
SECRET_MANAGER_BITWARDEN_ACCESS_TOKEN✔️Access token for Bitwarden. See this tutorial how to create it.*EmptyIf SECRET_MANAGER_TYPE is bitwarden
SECRET_MANAGER_BITWARDEN_ORGANIZATION_ID✔️Organization ID for Bitwarden. See this tutorial where to get it.*EmptyIf SECRET_MANAGER_TYPE is bitwarden
SECRET_MANAGER_BITWARDEN_PROJECT_ID✔️Project ID for Bitwarden. See this tutorial where to get it.*EmptyIf SECRET_MANAGER_TYPE is bitwarden
PROXY_TYPEType of proxy to use.no_proxy or oxylabno_proxyNone
PROXY_OXYLAB_USERNAME✔️Username of your oxylab account.*EmptyIf PROXY_TYPE is oxylab.
PROXY_OXYLAB_PASSWORD✔️Password of your oxylab account.*EmptyIf PROXY_TYPE is oxylab.
REMOTE_CHROME_IPIP of the remote chrome server.*EmptyNone
REMOTE_CHROME_PORTPort of the remote chrome server.*EmptyNone
ENVEnvironment in which the application is running.prod or debugprodNone