Skip to main content

Configuration

The included compose.yml and compose.env files in the repo contain default values that allow you to quickly demo the app.

If you plan to use the app long-term, you can customize your deployment using the following values in compose.env.

Client Configuration

These values are critical to the function of the budget-board-client container.

OptionDetails
BUDGET_BOARD_DOMAINThis is the domain you use to access Budget Board. (e.g., localhost:6253 or budget-board.example.com)
SERVER_ADDRESSThis is the address of your budget-board-server container. The default value will work for most deployments.
PORTThis is the port on which you will access Budget Board.

Server Configuration

These values are critical to the function of the budget-board-server container.

OptionDetails
CLIENT_ADDRESSThis is the address of your budget-board-client container. The default value will work for most deployments.
LOG_LEVELThe logging level of the server. By default this is set to the most verbose level.

Database Configuration

These values are critical to the function of the budget-board-db container.

OptionDetails
POSTGRES_HOSTThe host for the PostgreSQL database.
POSTGRES_PORTThe port for the PostgreSQL database.
POSTGRES_DATABASEThe PostgreSQL database name.
POSTGRES_USERThe PostgreSQL database user that Budget Board will use to connect to the database.
POSTGRES_PASSWORDThe database user's password.

OIDC Configuration

These values are required if you plan to use an OIDC provider for authentication instead of the built-in username/password system.

OptionDetails
OIDC_ENABLEDSet to true to enable OIDC authentication.
OIDC_ISSUERThe URL of your OIDC provider.
OIDC_CLIENT_IDThe client ID registered with your OIDC provider.
OIDC_CLIENT_SECRETThe client secret registered with your OIDC provider.

Email Configuration

The following values are required if you plan to use email features such as password resets and account verification.

OptionDetails
EMAIL_SENDERThe email address used to send verification and password-reset emails.
EMAIL_SENDER_USERNAMEThe username for the SMTP server used to send verification and password-reset emails. If not specified, this defaults to the EMAIL_SENDER value.
EMAIL_SENDER_PASSWORDThe password for the SMTP server used to send verification and password-reset emails.
EMAIL_SMTP_HOSTThe SMTP host used to send email.
EMAIL_SMTP_PORTThe port for the SMTP server.

Authentication Settings

The following options allow you to customize authentication behavior.

OptionDetails
DISABLE_LOCAL_AUTHSet to true to disable local authentication. This is only recommended for deployments that use an external authentication provider (i.e. OIDC).
DISABLE_NEW_USERSSet to true to prevent new user registrations.

Server Settings

These settings allow you to customize the behavior of the Budget Board server.

OptionDetails
AUTO_UPDATE_DBSet to true to enable automatic database migrations when the server starts.
DISABLE_AUTO_SYNCSet to true to disable automatic syncs.
SYNC_INTERVAL_HOURSThe number of hours between automatic syncs. If not specified, this defaults to 8 hours.