This topic explains the configuration and internals of aidboxdb image
Introduction
aidboxdb image is a custom build of open source PostgreSQL database. Aidbox uses it as data storage. The image can be pulled from HealthSamurai dockerhub.
The aidboxdb image use cases are:
To initialize and run a master database for Aidbox to work with
To initialize and run a streaming replica of the master database
An open source tool wal-g is used by aidboxdb for continuous archival, backups, and restoration.
aidboxdb image is tagged by PostgreSQL version from which it is built. For example, if you want to use 11.11 PostgreSQL version you should pull healthsamurai/aidboxdb:11.11 image.
pg_repack - Reorganize tables in PostgreSQL databases with minimal locks
jsonknife - Jsonb extraction tool
jsquery - Data type for jsonb inspection
The image is configured by supplying environment variables and command line arguments on startup. Keep in mind that you should not change the environment variables once you have initialized the database. The image expects them to be immutable.