Skip to content

A docker-compose configuration for using Jira behind traefik v2

Notifications You must be signed in to change notification settings

codingeering/jira-traefik

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

Traefik v2 - Jira

A Docker Compose configuration to run Jira behind a Traefik reverse proxy.

Usage

  1. Clone this repository.
  2. Modify the variables inside the .env file
  3. Run docker-compose up -d.

Optional

Jira might encounter some permission issues for folders /var/atlassian/jira and /opt/atlassian/jira since the user "daemon" is the one running the jira instances and does not have permission to access these folders. In that case do the following:

  1. Run docker exec -it -user root <CONTAINER ID> /bin/sh
  2. Run chown -R daemon:daemon /var/atlassian/jira
  3. Run chown -R daemon:daemon /opt/atlassian/jira
  4. Run docker-compose down
  5. Run docker-compose up -d

Installation

When setting up for the first time, you'll need to configure Jira. When asked what kind of environment you're setting up, specify it's a production environment. When asked to set up the database, specify you're using your own database and fill in the following details:

  • Database type: PostgreSQL
  • Hostname: postgres
  • Port: 5432
  • Database: jira
  • Username: the user you set in the .env
  • Password: the password you set in .env
  • Schema: public

Releases

No releases published

Packages

No packages published