We're migrating to using docker containers and have a couple properties that are currently set under the Advanced Settings tab on Jira, and that are also able to be set via the jira-config.properties file. We're using template files to set other configurations, like for the dbconfig.xml and server.xml files. Is there a way to do this for the jira-config.properties file as well?
Hi @Brianna Hill,
The overall configurations are located at jira-config.properties files there are environment variables that perform this configuration automatically.
You may use our official Atlassian Jira Docker images for reference.
In case you have some other customized configuration you want to add, I believe you should bind the file into the container.
Hope it helps, please let us know your thoughts
@Artur Moura so we're able to set the following values as environment variables, and Jira will be able to pick them up and set them properly?
jira.bulk.create.max.issues.per.import
jira.date.time.picker.java.format
jira.search.views.max.limit
jira.search.views.default.max
If so, would the corresponding environment variables be the full name of the config? For example:
jira.search.views.default.max --> JIRA_SEARCH_VIEWS_DEFAULT_MAX
Thank you!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks for your reply!
By default these configurations you are mentioning there isn't supported using docker environment variables by default.
With that, you would need to create a custom docker image, and using the Jinja templates create the jira-config.properties.j2 file accordingly.
I believe you should start looking at the entrypoint.sh file located at this link, which has some examples about how it is configured the other files, like the server.xml one.
Hope it clarifies, please let us know your thoughts.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.