Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Docker + Traefik letsencrypt + application links

Joe April 23, 2020

Is it possible to run both http and https at the same time in the docker images from atlassian?

 

trying to set a layer with docker so that externally people go to jira.mycompany.com and they get ssl cert via lets encrypt. This works great.

At the same time i'd like the containers to talk to each other (application links) via their own network through the ports directly (e.g. confluence:8093).


I can change my hosts file and go to http://confluence:8093 and it works, but I can't login and application links complains that "We couldn't connect to Docker Confluence, possibly because that instance is behind a misconfigured proxy."

if I set the container to have 

  • ATL_TOMCAT_SCHEME: http
  • ATL_TOMCAT_SECURE: false

SSl stops working obviously, but the application links work

 

vice versa, if the scheme is https and tomcat secure set to true, the ssl works, but i get the above error.

 

If there is a way to allow login from both, I can use the traefik reverse proxy to encrypt everything for users, but still be able to let the containers talk on an internal network unencrypted.

0 answers

Suggest an answer

Log in or Sign up to answer