Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Next challenges

Recent achievements

  • Global
  • Personal

Recognition

  • Give kudos
  • Received
  • Given

Leaderboard

  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Docker-Compose ALT ENV Variables Not working

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

 

1 answer

1 accepted

0 votes
Answer accepted

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.

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
SERVER
TAGS
Community showcase
Published in Jira

Announcing the waitlist for Jira Work Management

Hey there Cloud Community members! We’re excited to give you the first glimpse of the new home for business teams on Jira — Jira Work Management. Jira Work Management is the next generation of J...

876 views 14 20
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you