You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Dear Martin,
Thanks for your contribution to the docker community, it will be nice to be able to changes the values of the memory to run Jira adding some docker variables.
Thanks,
Emilio
The text was updated successfully, but these errors were encountered:
I have a small fix for this problem in my own Dockerfile
FROM cptactionhank/atlassian-jira:7.12.2
USER root:root
ENV JVM_MAXIMUM_MEMORY 768m
ENV JVM_MINIMUM_MEMORY 384m
# make memory RUN set -x \
&& sed --in-place 's/JVM_MINIMUM_MEMORY=.*/#JVM_MINIMUM_MEMORY=/g' /opt/atlassian/jira/bin/setenv.sh \
&& sed --in-place 's/JVM_MAXIMUM_MEMORY=.*/#JVM_MAXIMUM_MEMORY=/g' /opt/atlassian/jira/bin/setenv.sh
# change userUSER daemon:daemon
An option would also be to mount your own setenv.sh on top of the existing one, at runtime. You can mount a specific item in a config map in K8s, per this SO answer.
Dear Martin,
Thanks for your contribution to the docker community, it will be nice to be able to changes the values of the memory to run Jira adding some docker variables.
Thanks,
Emilio
The text was updated successfully, but these errors were encountered: