Skip to content

Configurations

Configurations

How to configure environment variables for self-hosted Osvauld.

Osvauld accepts all configurations via environment variables. For a minimal self-hosted instance, at least MASTER_DB_NAME, MASTER_DB_USER, MASTER_DB_PASSWORD, MASTER_DB_HOST and AUTH_SECRET must be defined. However, you can configure additional settings to activate more features as needed.

All configurations

Variable NameDescriptionMandatoryDefault Value
MASTER_DB_HOSTThe hostname or IP address of your PostgreSQL instance.Yes
MASTER_DB_NAMEThe name of the database to use.Yes
MASTER_DB_USERThe username for accessing the databaseYes
MASTER_DB_PASSWORDThe password for the specified userYes
AUTH_SECRETThe secret for generating tokens. Should have a minimum length of 32 characters.Yes
MASTER_DB_PORTThe port number on which the PostgreSQL instance is running.No5432
MASTER_SSL_MODEssl connection mode for postgres referNodisable
SERVER_PORTport number for backend server to runNo8000