Skip to content

Latest commit

 

History

History
40 lines (27 loc) · 1.53 KB

README.md

File metadata and controls

40 lines (27 loc) · 1.53 KB

PostgreSQL

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

Dependencies

Requires islandora/base docker image to build. Please refer to the Base Image README for additional information.

Ports

Port Description
5432 PostgreSQL Client Port

Settings

Database Settings

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