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:
Expecting to add the JVM_SUPPORT_RECOMMENDED_ARGS bit in there I guess?
Really appreciate the help on this, will solve some internal integrations :)
Hi @Jonathan Ward ,
If your cacerts file (your trust store) is located inside your $BITBUCKET_HOME folder, then you would tell your containers to use it like so:
If you're using multiple nodes in a Data Center configuration, and you intend to use the same trust store for all nodes, you might instead choose to store your cacerts file inside $BITBUCKET_HOME/shared so all nodes can retrieve the same copy from your shared storage.
Hope that helps!
Thanks, @Dave Chevell
Slight edit on your snippet needs to be
At least on whatever I'm running, it failed to start when I pasted this in as-is!
The good news is this has fixed my issues with integrating our Jenkins server, so thank you so much for this!
Hi, Bitbucket community! Are you a DevOps practitioner (or know one in your network)? Do you have DevOps tips, tricks, or learnings you'd like to share with the community? If so, we'd love to hea...
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