Docker image for PostgreSQL version 12.2
Please refer to the PostgreSQL Documentation for more in-depth information.
As a quick example this will bring up an instance of PostgreSQL, and allow you to
log in with client as the user root
.
docker run --rm -d --name postgresql islandora/postgresql
docker exec -ti postgresql psql -U root postgres
Requires islandora/base
docker image to build. Please refer to the
Base Image README for additional information.
Port | Description |
---|---|
5432 | PostgreSQL Client Port |
Please see the documentation in the base image for more information about the default database connection configuration.
Environment Variable | Confd Key | Default | Description |
---|---|---|---|
POSTGRESQL_ROOT_USER | /postgresql/root/user | The database root user password. Defaults to DB_ROOT_PASSWORD |
|
POSTGRESQL_ROOT_PASSWORD | /postgresql/root/password | The database root user (used to create the site database). Defaults to DB_ROOT_USER |