Sign inSign up

ahaasler/jira-postgres

By ahaasler

Updated almost 11 years ago

Image
1

2.9K

ahaasler/jira-postgres repository overview

docker-jira-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 ahaasler/jira-postgres ```

  1. Use it in the Jira container:

docker run --name jira --link jira-postgres:jira-postgres -d -p 8080:8080 ahaasler/jira ```

  1. Connect your Jira instance following the Atlassian documentation: Configure your JIRA server to connect to your PostgreSQL database.
    • Database Type: PostgreSQL.
    • Hostname: jira-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 jira-postgres -d -e JIRA_DB_NAME=jiradatabase -e JIRA_DB_USER=jiradbuser -e JIRA_DB_PASS=p455w0rd ahaasler/jira-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

sha256:4f2c7e152

Size

78.4 MB

Last updated

almost 11 years ago

docker pull ahaasler/jira-postgres