Sitecore MVP Site running on Sitecore Docker 10.1
For the last few days, have been trying to port the Sitecore MVP website currently running on Sitecore 10.0 to Sitecore 10.1, finally have got a running site on my local running on Docker. Here are the changes I did for the different files:
Sitecore MVP 10.0 vs Sitecore MVP 10.1 Site:
Docker-compose file:
The main difference is the addition of solr-init section and then re-configure other containers to the new container similar to xm1 topology here in Sitecore Custom images example
Docker override file:
.Env File:
solr-init docker file in build folder:
init.ps1:
Run init.ps1 using this command - .\init.ps1 -InitEnv -LicenseXmlPath "C:\license\license.xml" -AdminPassword "b"
Then, up.ps1 to start the Docker instance
After you bring down the instance, ensure to clean.ps1 in the docker folder under C:\latest\MVP-Site-10.1 to clear data folders.
Some of the issues:
When I used latest JSS version in the env file, i.e., 15.0.0 instead of 14.0.0, the site menu link doesn't load, this is something to be investigated -
Also, when you use version 3.0.0 of SMS instead of 2.0.0, the site doesn't get published:
Here is the working site without the above changes:
Authorization after successful container up:
Working Sitecore Docker 10.1 MVP Site:
Docker Dashboard:
- Use docker container logs <container id> to see container related errors
Here is a zip of just the files changed - https://github.com/navancommits/MVP-Sitecore-10.1
Comments
Post a Comment