Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

How to Run Confluence on Two Different Ports with Docker?

Lion Kosiuk October 21, 2019

Hello,

Is it possible to assign two ports to Confluence when using Docker? We want direct access with HTTPS and a connector for Apache. 

For Example:

<Connector port="8090" connectionTimeout="20000" redirectPort="8443"
maxThreads="48" minSpareThreads="10"
enableLookups="false" acceptCount="10" debug="0" URIEncoding="UTF-8"
protocol="org.apache.coyote.http11.Http11NioProtocol"
scheme="https" proxyName="<>" proxyPort="443" secure="true" />

<Connector port="8443" maxHttpHeaderSize="8192"
maxThreads="150" minSpareThreads="25"
protocol="org.apache.coyote.http11.Http11Nio2Protocol"
enableLookups="false" disableUploadTimeout="true"
acceptCount="100" scheme="https" secure="true"
clientAuth="false" sslProtocol="TLSv1.2" sslEnabledProtocols="TLSv1.2" SSLEnabled="true"
URIEncoding="UTF-8" keystorePass="<>" keystoreFile="/home/confluence/.keystore"/>

Thank you!

 

1 answer

0 votes
Alexis Robert
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
October 21, 2019

Hi @Lion Kosiuk , 

 

you can follow this documentation (originally for bypassing a proxy for Application Links) to have another connector in Confluence : https://confluence.atlassian.com/kb/how-to-bypass-a-reverse-proxy-or-ssl-in-application-links-719095724.html

 

Let me know if this helps, 

 

--Alexis

Lion Kosiuk October 21, 2019

Hello @Alexis Robert ,

Thank you so much for your answer. Unfortunately I already know the document. But I want to use the environment variables you can specify when starting a Docker container with image Confluence to specify a second Tomcat Connector. Unfortunately this doesn't seem possible.

Best regards

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events