A Docker Compose configuration to run Jira behind a Traefik reverse proxy.
- Clone this repository.
- Modify the variables inside the .env file
- Run
docker-compose up -d
.
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:
- Run
docker exec -it -user root <CONTAINER ID> /bin/sh
- Run
chown -R daemon:daemon /var/atlassian/jira
- Run
chown -R daemon:daemon /opt/atlassian/jira
- Run
docker-compose down
- Run
docker-compose up -d
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