Configuration
The compose.yml
file contains the configuration required for every deployment of Budget Board. For custom configuration specific to your instance, use compose.override.yml
.
Server
The following settings apply to the server component of Budget Board.
Option | Details |
---|---|
POSTGRES_HOST | The host for the PostgreSQL database. You usually don't need to edit this unless you're hosting your own PostgreSQL database. |
POSTGRES_PORT | The port for the PostgreSQL database. If not included in the override file, defaults to 5432 . |
POSTGRES_DATABASE | The PostgreSQL database name. This should match the variable POSTGRES_DB under the budget-board-db container. |
POSTGRES_USER | The PostgreSQL database user that Budget Board will use to connect to the database. This should match the variable of the same name under the budget-board-db container. |
POSTGRES_PASSWORD | The database user's password. This should match the variable of the same name under the budget-board-db container. |
AUTO_UPDATE_DB | When true , the database will be automatically migrated when the schema changes. Otherwise, you'll need to update it manually. |
EMAIL_SENDER | The email address used to send verification and password-reset emails. See Additional Details for more information about configuring this. |
EMAIL_SENDER_PASSWORD | The password for the email account used to send verification and password-reset emails. |
EMAIL_SMTP_HOST | The SMTP host used to send email. |
DISABLE_AUTO_SYNC | Set to true to disable the SimpleFIN auto-sync feature. |
Configuring the email sender
The compose override file contains settings to configure an email sender for password resets and account verification. This is optional but highly recommended.
You will need an SMTP server to send email. You can use a self-hosted service, a paid cloud service, or a provider such as Gmail for small deployments.
If you plan to use Gmail, consult Google's documentation for enabling SMTP access and generating app-specific credentials where required.
If you don't configure an SMTP server, users have no convenient way to recover a lost password. You would need to edit the database directly to set a new hashed password.
Database
The following settings are required by the PostgreSQL container used by Budget Board.
Option | Details |
---|---|
POSTGRES_USER | The PostgreSQL database user used to connect to the database. This should match the variable of the same name under the budget-board-server container. |
POSTGRES_PASSWORD | The database user's password. This should match the variable of the same name under the budget-board-server container. |
POSTGRES_DATABASE | The PostgreSQL database name. This should match POSTGRES_DB in the budget-board-server container. |