Skip to content

ahaasler/docker-jira-postgres

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

  • 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.

Releases

No releases published

Packages

No packages published

Languages