2022-07-30 21:22:34 +00:00
# Database
## `DB_ENGINE`
2024-02-07 06:04:17 +00:00
_Default:_ `django.db.backends.sqlite3`
2022-07-30 21:22:34 +00:00
The database engine utilized for the deployment.
2024-01-27 17:05:24 +00:00
See also [Django's documentation on the ENGINE setting ](https://docs.djangoproject.com/en/5.0/ref/settings/#engine ).
2022-07-30 21:22:34 +00:00
## `DB_HOST`
2024-02-07 06:04:17 +00:00
_Default:_ unset
2022-07-30 21:22:34 +00:00
The name of the database host for the deployment.
## `DB_NAME`
2024-02-07 06:04:17 +00:00
_Default:_ `BASE_DIR/data/db.sqlite3`
2022-07-30 21:22:34 +00:00
The name of the database table utilized for the deployment.
## `DB_PASSWORD`
2024-02-07 06:04:17 +00:00
_Default:_ unset
2022-07-30 21:22:34 +00:00
The password for the database user for the deployment. In the default example,
this is the root PostgreSQL password.
## `DB_PORT`
2024-02-07 06:04:17 +00:00
_Default:_ unset
2022-07-30 21:22:34 +00:00
2024-01-06 11:39:18 +00:00
The listening port for the database. The default port for PostgreSQL is 5432.
2022-07-30 21:22:34 +00:00
## `DB_USER`
2024-02-07 06:04:17 +00:00
_Default:_ unset
2022-07-30 21:22:34 +00:00
The database username utilized for the deployment.
2024-01-06 11:39:18 +00:00
## `DB_OPTIONS`
2024-02-07 06:04:17 +00:00
_Default:_ unset
2024-01-06 11:39:18 +00:00
Additional options to pass to the database library. See the [Django Databases documentation ](https://docs.djangoproject.com/en/5.0/ref/databases/ ) for examples. To enforce an SSL connection to the database, use `{'sslmode': 'require'}` .