Public Repository

Last pushed: 3 years ago
Short Description
Docker image for postgres9.4 with initialized database (Amazon reviews 98)
Full Description

PostgreSQL 9.4

Source Project

Postgres image with Amazon reviews data in json/jsonb format

run with entrypoint script (data inserting):

$ docker run -t -i ngaddour/postgres:latest

run directly in bash (without entrypoint):

# run image
$ docker run -t -i ngaddour/postgres:latest bin/bash
#start postgres service 
$ /etc/init.d/postgresql start
#connect to reviews db with role onyme
psql -h localhost -p 5432 -U onyme -d reviews -W

db password: admin

Docker Pull Command