Skip to main content

Environment variables

VariableDescriptionPossible valuesMandatoryDefaultCondition
PORTPort on which the API is listening. Do not forget to open ports on docker container if you change this value.*✔️8080None
OAUTH_TOKEN_VALIDITY_DURATION_MSDuration in milliseconds for which the OAuth token is valid.*❌600000None
RESET_PASSWORD_TOKEN_VALIDITY_DURATION_MSDuration in milliseconds for which the reset password token is valid.*❌3600000None
UI_BEARER_VALIDITY_DURATION_MSDuration in milliseconds for which the UI bearer token is valid.*❌3600000None
TOKEN_MANAGER_MAX_ENTRIES_PER_MAPMaximum number of entries per map in the token manager.*❌50000None
ANALYTICS_SERVER_ENDPOINTThis is the endpoint at which logs are sent.*❌EmptyNone
ANALYTICS_SERVER_HEADERSHeaders to be sent to the analytics server.*❌{}None
DATABASE_URIUri of the MongoDB used to store the data. The credentials are not stored in this database.*✔️mongodb://mongodb:27017None
DATABASE_MONGODB_NAMEName of the database to use.*✔️prodIf DATABASE_URI starts with mongodb
SECRET_MANAGER_TYPEType of secret manager to use. This is where the credentials are stored.bitwarden✔️bitwardenNone
SECRET_MANAGER_BITWARDEN_API_URIAPI URI for Bitwarden.https://vault.bitwarden.eu/api or https://vault.bitwarden.com/api✔️https://vault.bitwarden.eu/apiIf SECRET_MANAGER_TYPE is bitwarden
SECRET_MANAGER_BITWARDEN_IDENTITY_URIIdentity URI for Bitwarden.https://vault.bitwarden.eu/identity or https://vault.bitwarden.com/identity✔️https://vault.bitwarden.eu/identityIf SECRET_MANAGER_TYPE is bitwarden
SECRET_MANAGER_BITWARDEN_ACCESS_TOKENAccess token for Bitwarden. See this tutorial how to create it.*✔️EmptyIf SECRET_MANAGER_TYPE is bitwarden
SECRET_MANAGER_BITWARDEN_ORGANIZATION_IDOrganization ID for Bitwarden. See this tutorial where to get it.*✔️EmptyIf SECRET_MANAGER_TYPE is bitwarden
SECRET_MANAGER_BITWARDEN_PROJECT_IDProject 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 oxylab❌no_proxyNone
PROXY_OXYLAB_USERNAMEUsername of your oxylab account.*✔️EmptyIf PROXY_TYPE is oxylab.
PROXY_OXYLAB_PASSWORDPassword 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
FRONTENDURL of the frontend application.*✔️http://localhost:8080None
ENVEnvironment in which the application is running.prod or debug❌prodNone
IS_SELF_HOSTEDWhether the application is self-hosted or not.True or False❌TrueNone