Public | Automated Build

Last pushed: 3 years ago
Short Description
Short description is empty for this repo.
Full Description

PostgreSQL 9.4 on Debian "jessie".

See the Dockerfile.

You can set variables POSTGRESQL_USERNAME and POSTGRESQL_PASSWORD (both default to root) to change database's credentials.

$ docker run -it -e POSTGRESQL_USERNAME ... -e POSTGRESQL_PASSWORD ... haggen/postgresql

The script creates both user and database when they do not exist.

To link it with another container:

docker run --link postgresql:database ...

Available volumes:

  • /etc/postgresql/9.4/main: configuration files.
  • /var/lib/postgresql/9.4/main: database files.

Port 5432 is already exposed.

Logs come out to stdout and stderr.

Docker Pull Command
Source Repository