A docker-compose configuration for using Jira behind traefik v2
A Docker Compose configuration to run Jira behind a Traefik reverse proxy.
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:
docker exec -it -user root <CONTAINER ID> /bin/sh
chown -R daemon:daemon /var/atlassian/jira
chown -R daemon:daemon /opt/atlassian/jira
docker-compose down
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:
PostgreSQL
postgres
5432
jira
.env
.env
public