From ba3191b74c90bc2a871192681b9412831c35ce44 Mon Sep 17 00:00:00 2001 From: STAM Date: Tue, 18 Sep 2018 15:29:01 +0300 Subject: [PATCH] jira port fixes --- jira/Dockerfile | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/jira/Dockerfile b/jira/Dockerfile index 823e1abf7..3795164bd 100644 --- a/jira/Dockerfile +++ b/jira/Dockerfile @@ -9,9 +9,8 @@ ENV JIRA_INSTALL_DIR /opt/atlassian/jira VOLUME ["${JIRA_HOME}"] -# Expose HTTP and Synchrony ports -EXPOSE 8090 -EXPOSE 8091 +# Expose HTTP port +EXPOSE 8080 WORKDIR $JIRA_HOME @@ -40,4 +39,4 @@ RUN mkdir -p ${JIRA_INSTALL_DIR} \ && curl -L --silent ${DOWNLOAD_URL} | tar -xz --strip-components=1 -C "$JIRA_INSTALL_DIR" \ && chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ \ && sed -i -e 's/-Xms\([0-9]\+[kmg]\) -Xmx\([0-9]\+[kmg]\)/-Xms\${JVM_MINIMUM_MEMORY:=\1} -Xmx\${JVM_MAXIMUM_MEMORY:=\2} \${JVM_SUPPORT_RECOMMENDED_ARGS} -Dconfluence.home=\${JIRA_HOME}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh \ - && sed -i -e 's/port="8090"/port="8090" secure="${catalinaConnectorSecure}" scheme="${catalinaConnectorScheme}" proxyName="${catalinaConnectorProxyName}" proxyPort="${catalinaConnectorProxyPort}"/' ${JIRA_INSTALL_DIR}/conf/server.xml \ No newline at end of file + && sed -i -e 's/port="8080"/port="8080" secure="${catalinaConnectorSecure}" scheme="${catalinaConnectorScheme}" proxyName="${catalinaConnectorProxyName}" proxyPort="${catalinaConnectorProxyPort}"/' ${JIRA_INSTALL_DIR}/conf/server.xml \ No newline at end of file