Docker image for PostgreSQL version 15.1
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 | Default | Description |
---|---|---|
POSTGRESQL_ROOT_USER | The database root user password. Defaults to DB_ROOT_PASSWORD |
|
POSTGRESQL_ROOT_PASSWORD | The database root user (used to create the site database). Defaults to DB_ROOT_USER |