Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Deleted user
0 / 0 points
Next:
badges earned

Your Points Tracker
Challenges
Leaderboard
  • Global
  • Feed

Badge for your thoughts?

You're enrolled in our new beta rewards program. Join our group to get the inside scoop and share your feedback.

Join group
Recognition
Give the gift of kudos
You have 0 kudos available to give
Who do you want to recognize?
Why do you want to recognize them?
Kudos
Great job appreciating your peers!
Check back soon to give more kudos.

Past Kudos Given
No kudos given
You haven't given any kudos yet. Share the love above and you'll see it here.

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

How to change Java Trust Store for Dockerfile

According to the warning on How to change the JVM parameter for a Docker container | Bitbucket Data Center and Server | Atlassian Documentation I can set the cacerts/ Java Trust Store path in my docker file using JVM_SUPPORT_RECOMMENDED_ARGS parameter, as I'm after v4.0 (7.6.0 now)

Can anyone show me how?? I cannot find an example anywhere, not even on the docker readme!

I have my cacerts in my docker home which is mapped as a volume, but obviously need to change startup params to read this location instead of the images own default /opt/.... path to its JVM.

 

I'm sure this is a one-liner, just don't want to mess up my install!
My docker file section for BB is like this:


bitbucket:
image: atlassian/bitbucket-server:7.6.0
container_name: bitbucket
environment:
ELASTICSEARCH_ENABLED: 'true'
JDBC_DRIVER: com.microsoft.sqlserver.jdbc.SQLServerDriver
JDBC_USER: sa
JDBC_PASSWORD: ***************************
JDBC_URL: 'jdbc:sqlserver://mssql:1433;databaseName=BitbucketDB'
volumes:
- '/var/bitbucket/home/:/var/atlassian/application-data/bitbucket/'
ports:
- '7999:7999'
expose:
- '7990'
networks:
- backend

Expecting to add the  JVM_SUPPORT_RECOMMENDED_ARGS bit in there I guess?

 

Really appreciate the help on this, will solve some internal integrations :)

0 answers

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
SERVER
VERSION
7.6.0
TAGS
Community showcase
Published in Bitbucket

Calling any interview participants for Bitbucket Data Center

Hi everyone,  We are looking to learn more about development teams’ workflows and pain points, especially around DevOps, integrations, administration, scale, security, and the related challeng...

639 views 7 4
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