Sign inSign up

cyclic/core-postgres

By cyclic

•Updated over 8 years ago

A Postgres instance ready with Jira db user info.

Image
0

204

cyclic/core-postgres repository overview

⁠core-postgres

A PostgreSQL container ready to be used with docker-jira⁠.

⁠Usage

  1. Create and name the database container:

    docker run --name jira-postgres -d cyclic/core-postgres
    
  2. Use it in the Jira container:

    docker run --name jira --link core-postgres:jira-postgres -d -p 8080:8080 cyclic/docker-jira
    
  3. Connect your Jira instance following the Atlassian documentation: Configure your JIRA server to connect to your PostgreSQL database⁠.

    • Database Type: PostgreSQL.
    • Hostname: core-postgres (the name of the link between containers).
    • Port: 5432.
    • Database: jiradb (or the one specified as JIRA_DB_NAME).
    • Username: jira (or the one specified as JIRA_DB_USER).
    • Password: password (or the one specified as JIRA_DB_PASS).
    • Schema: public

See docker-jira⁠ for more information on the jira container.

⁠Parameters

You can use these environment variables to configure your jira postgres instance:

  • JIRA_DB_NAME: The name of your PostgreSQL database (default: jiradb).
  • JIRA_DB_USER: The user for JIRA to connect to the PostgreSQL server (default jira).
  • JIRA_DB_PASS: The password that JIRA should use to authenticate with the PostgreSQL server (default password).

They should be passed to the docker run command:

docker run --name core-postgres -d -e JIRA_DB_NAME=jiradatabase -e JIRA_DB_USER=jiradbuser -e JIRA_DB_PASS=p455w0rd cyclic/core-postgres

⁠Thanks

⁠License

This image is licensed under the Apache License, Version 2.0. See LICENSE⁠ for the full license text.

Tag summary

Content type

Image

Digest

Size

82.3 MB

Last updated

over 8 years ago

docker pull cyclic/core-postgres