Public | Automated Build

Last pushed: 2 years ago
Short Description
Short description is empty for this repo.
Full Description

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
    
  2. Use it in the Jira container:

    docker run --name jira --link jira-postgres:jira-postgres -d -p 8080:8080 ahaasler/jira
    
  3. 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

  • Docker for this amazing container engine.
  • PostgreSQL for this advanced database.
  • Atlassian for making great products. Also for their work on atlassian-docker which inspired this.
  • Azul Systems for their OpenJDK docker base image.
  • And specially to you and the entire community.

License

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

Docker Pull Command
Owner
ahaasler
Source Repository