Skip to content
This repository has been archived by the owner on Jan 19, 2019. It is now read-only.

blacklabelops-legacy/postgres

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Dockerized PostgreSQL

Work in Progress

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.

About

Work in Progress

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published