Skip to content

reyrahadian/sitecore-docker-https-example

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Sitecore Docker HTTPS example using Traefik v2

Demonstrates how to configure a reverse proxy (Traefik in this case) to handle SSL with a custom generated self-signed certificate with mkcert on the frontend and proxy traffic to backend services using HTTP.

Usage

  1. Add (or edit) environment variables used so they match what Windows build your are running and which registry you are using. See the .env file.
  2. Install mkcert, open a terminal in the /traefik/cert folder and execute mkcert "*.sitecore-https.local"
  3. Add solr.sitecore-https.local and cm.sitecore-https.local to your HOSTS file.
  4. Run docker-compose up --build

IMPORTANT: The traefik service in docker-compose.yml is configured to use port 80 and 443, so if you got anything running using the same ports for example IIS, you need to shut it down (or stop the sites) or change the ports.

Notes

  1. Custom traefik image is needed due to an error in traefik that requires containers to run in process isolation mode but official traefik images is not supplied for Windows 1903 and 1909.
    1. This issue may be resolved in traefik v2 but there is another issue with that official images that keeps the container from starting :)

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Dockerfile 100.0%