Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

How to alter JVM_REQUIRED_ARGS on a docker-compose setup?

Heigo Ankuhin January 31, 2024

Hello,

We are running Jira Data Center on a docker-compose setup and I'm currently trying to figure out how to alter JVM_REQUIRED_ARGS.

The goal is to add a Web Resource using ScriptRunner and that requires to point Jira to a specific directory by adding "Dplugin.resource.directories=*path to folder*" to JVM_REQUIRED_ARGS.

According to documentation, you have to modify the setenv.sh file, but the modified variable seems to get overwritten again when restarting Jira.

 

Thanks for any help!

1 answer

1 accepted

1 vote
Answer accepted
PD Sheehan
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
January 31, 2024

Did you try what is suggested in the Docker section of this document?

https://confluence.atlassian.com/adminjiraserver/setting-properties-and-options-on-startup-938847831.html

Suggest an answer

Log in or Sign up to answer