AidboxDB is a custom build of PostgreSQL database that used as Aidbox data storage.
1M+
AidboxDB image is a custom build of open source PostgreSQL database. Aidbox uses it as data storage. You can find more detailed informaion in our documentation.
docker run \
-v "$(pwd)"/pgdata:/data/pg \
-e POSTGRES_USER='postgres' \
-e POSTGRES_PASSWORD='pass' \
-e POSTGRES_DB='aidbox' \
-e PGDATA="/data/pg" \
healthsamurai/aidboxdb:14.5
The AidboxDB image use cases are:
AidboxDB image is tagged by PostgreSQL version from which it is built. For example, if you want to use 14.5 PostgreSQL version you should pull healthsamurai/aidboxdb:14.5 image.
Supported PostgreSQL versions: 15 (beta), 14.5, 13.8
Available versions: 14.2, 13.6, 13.2, 12.12, 12.6, 11.17, 11.11
List of additional availiable extensions:
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.
Required environment variables
| Env variable name | Meaning |
|---|---|
POSTGRES_USER | Name of the user that will be created during db initialization |
POSTGRES_PASSWORD | Password for that user |
POSTGRES_DB | Name of the database to be created on startup |
WALG_ variables | Credentials for storage and bucket name for wal-g to use. Refer to the official docs for the details. |
Optional environment variables
| Env variable name | Default | Meaning |
|---|---|---|
PGDATA | Path to the postgresql cluster directory in the filesystem. /data by default. | |
PG_ROLE | When set to "replica" image proceeds to the streaming replica mode | |
PG_REPLICA | Name of the replication slot to be created in master database. Should only contain lower case letters, numbers, and the underscore character. | |
PG_MASTER_HOST | Master database host for streaming replica | |
PGAGENT_ENABLED | When present and | |
PGAGENT_DB | Value ofPOSTGRES_DB variable | Database where pgagent data is stored. If value is set, then database must exist on container start up. |
PGAGENT_LOG_FILE_PATH | "/tmp/pgagent.logs" | Path to file where pgagent messages are logged |
PGAGENT_LOG_LEVEL | 0 | 0 error, 1 warning, 2 debug. |
PGAGENT_USER | postgres | If you want to use custom user for pgagent you can specify in this variable. |
PGAGENT_PASSWORD | Value of POSTGRES_PASSWORD variable | Password for custom pgagent user. |
Content type
Image
Digest
sha256:261ba691e…
Size
244.4 MB
Last updated
12 months ago
docker pull healthsamurai/aidboxdb:18