Closed zyxep closed 6 years ago
Hey, any idea why it doesn't trigger an update?
Yes, you mounted the installation directory of an older version replacing the installation directory of the newer installation.
Typically it is not needed to mount the installation directory.
Remove the /opt/atlassian mount and it should start up version 7.4.0.
Then I don't understand how to tell server.xml that it's running behind a proxy, so I get SSL.
There are environment variables to mitigate this scenario, have a look at
You can see exactly what happends in docker-entrypoint.sh or you can mount your server.xml file instead of a whole directory. I would recommend the X_* environment variables.
Hi,
I have tried to update my container to the newest 7.4.0 image. I have a postgres 9.5.7 in a network with jira & bitbucket.
I run this command to start my container:
docker run --rm --network=atlassian -v jiraInstallVolume:/opt/atlassian/jira -v jiraVolume:/var/atlassian/jira --name="jira" -d -p 8080:8080 cptactionhank/atlassian-jira-software:7.4.0
as you can see I have also 2 volumes, 1 for install dir & one for the data too. I have these 2 so i can alter my server cfg to proxy to https.
I have a Nginx installed on the host which proxies to the jira container.
I ran the same command just with 7.3.7, and that is what my jira "think" it is running.