Skip to content

Database configuration

This section details the configuration options you can pass when deploying the backend.

Environment variable Description
DAMAP_DB_HOST Host of the database, no traling slash or protocol (http/https)
DAMAP_DB_NAME Name of the database.
DAMAP_DB_PORT Port of the database.
DAMAP_DB_KIND Your database engine kind (postgresql or oracle).
DAMAP_DB_USERNAME Username for database authentication.
DAMAP_DB_PASSWORD Password for database authentication.

Warning

We officially only support PostgreSQL as a database engine. Oracle is supported only on a best effort basis. If you wish to use a different database engine like MySQl, you will need to rewrite the entrypoint script.

Warning

A change in the database engine requires either recompilation from source or re-augmentation. The default DAMAP backend container does this automatically, but requires write access to the container root filesystem. For custom containers you may need to implement re-augmentation in your startup script.