Skip to main content

Environment Variables

In order to run StewardX, you'll need some environment variables.

Variable nameDescriptionDefaultRequired
DATABASE_URLThis variable is only needed when building StewardX from source. It is your PostgreSQL database url.false
STEWARDX_DATABASE_URLThis is the variable StewardX looks for. It is the same as DATABASE_URL but required when running the application.true
STEWARDX_CONFIGThe configuration file's path.$HOME/.config/stewardx/config.jsonfalse
STEWARDX_SERVER_PORTPort of the API3000false
STEWARDX_SERVER_HOSTHost of the API127.0.0.1false