Hello,
We are facing confusing issue with JIRA using Docker-Compose, we defined the variables, but these variables won't work and this must be an issue with the software, we have done our homework.
We are using the latest version of docker.
version: "3.5"
services:
jira:
container_name: Jira
depends_on:
- atlassiandb
image: atlassian/jira-software
volumes:
- jira:/var/atlassian/application-data/jira
networks:
- atlassian
ports:
- "8080:8080"
environment:
- JVM_MINIMUM_MEMORY=2048m
- JVM_MAXIMUM_MEMORY=4096m
- ATL_PROXY_NAME=jira.domain.com
- ATL_PROXY_PORT=443
- ATL_TOMCAT_SCHEME=https
- ATL_TOMCAT_SECURE=true
logging:
# limit logs retained on host to 25MB
driver: "json-file"
options:
max-size: "500k"
max-file: "50"
confluence:
container_name: Confluence
depends_on:
- atlassiandb
image: atlassian/confluence-server
volumes:
- confluence:/var/atlassian/application-data/confluence
networks:
- atlassian
ports:
- "8090:8090"
environment:
- JVM_MINIMUM_MEMORY=2048m
- JVM_MAXIMUM_MEMORY=4096m
- ATL_PROXY_NAME=confluence.domain.com
- ATL_PROXY_PORT=443
- ATL_TOMCAT_SCHEME=https
- ATL_TOMCAT_SECURE=true
logging:
# limit logs retained on host to 25MB
driver: "json-file"
options:
max-size: "500k"
max-file: "50"
volumes:
jira:
external: false
confluence:
external: false
networks:
atlassian:
driver: bridge
name: atlassian
I figured the problem since I was using Dockerfile to build from the official build all were good, however, by assigning Jira as the user you will get this error and therefore these variables won't be used to build server.xml and this is the cause of the issue.
Confluence | WARNING:root:Container not started as root. Bootstrapping skipped for '/opt/atlassian/confluence/conf/server.xml'
I hope this helps someone out there.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.