hyone / docker-hyone_postgresql

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

hyone/postgresql Dockerfile

my PostgreSQL ready dockerfile

Build

$ bundle install
$ bundle exec rake docker:build

Run

run with mounting persistent data container

$ bundle exec rake docker:run

access database

then, we can access PostgreSQL server like below :

$ psql -h <CONTAINER_HOST> -U postgres -p <CONTAINER_POSTGRESQL_PORT>
  • initial postgres user password is ${POSTGRESQL_POSTGRES_PASSWORD} set by Dockerfile

Test

$ bundle exec rake spec

Author

hyone (hyone.development@gmail.com)

About


Languages

Language:Ruby 54.9%Language:Shell 45.1%