Skip to content

iamdevnull/postgres

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Dockerized PostgreSQL

Work in Progress

blacklabelops/postgres:latest

Basically Alpine PostgreSQL with official Postgres entrypoint.

Takes the same parameters as: Official Postgres

Added the specification of database encoding and collate for Atlassian applications:

Example:

$ docker run --name postgres -d \
    -e 'POSTGRES_USER=jira' \
    -e 'POSTGRES_PASSWORD=jellyfish' \
    -e 'POSTGRES_DB=jiradb' \
    -e 'POSTGRES_ENCODING=UNICODE' \
    -e 'POSTGRES_COLLATE=C' \
    -e 'POSTGRES_COLLATE_TYPE=C' \
    blacklabelops/postgres

Starts a database for Atlassian Jira.

Database Create Statement

You can specify an initial database create statement.

$ docker run --name postgres -d \
    -e 'POSTGRES_USER=jira' \
    -e 'POSTGRES_PASSWORD=jellyfish' \
    -e 'POSTGRES_DB=jiradb' \
    -e 'POSTGRES_DB_CREATE=CREATE DATABASE userdatabase ' \
    blacklabelops/postgres

Starts a database for Atlassian Jira.

Support

Leave a message and ask questions on Hipchat: blacklabelops/hipchat

About

Work in Progress

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 78.4%
  • Dockerfile 21.6%