A presentation at Meetup of the Melbourne Sitecore User Group in in Melbourne VIC, Australia by Rob Earlam
Sitecore & Docker So Hot Right Now! Rob Earlam Technical Evangelist - Sitecore May 2020 @RobEarlam
@RobEarlam
ROB EARLAM robearlam.com github.com/robearlam twitter.com/robearlam linkedin.com/in/rob-earlam/ @RobEarlam
What is Docker? How does it work? How to develop using Docker @RobEarlam Sitecore’s Docker Journey How to build the Images
Sitecore’s Journey with Docker @RobEarlam
@RobEarlam
Better Windows Support for Containers @RobEarlam The AMAZING Sitecore community
The Sitecore Docker Images Repository @RobEarlam
Build.ps1 – – – – – – – – – – – [Mandatory] SitecoreUsername [Mandatory] SitecorePassword [Optional] SitecoreVersion [Optional] Topology [Optional] WindowsVersion [Optional] IncludeSpe [Optional] IncludeSxa [Optional] IncludeJss [Optional] SkipExistingImage [Optional] IncludeExperimental [Optional] Registry @RobEarlam
Pushing to a shared registry @RobEarlam © 2001-2020 Sitecore Corporation A/S. Sitecore® and Own the Experience® are registered trademarks of Sitecore Corporation A/S. All other brand names are the property of their respective owners.
Developing with Docker @RobEarlam
• • • • @RobEarlam GitHub Repository XP docker images with SXA Visual Studio Solution TDS for Serialisation
Legend Base Image Sitecore Experience Platform (XP) Sitecore Experience Accelerator (SXA) XP SXA SqlDev mssql-developer:2017windowsservercore-ltsc2019 XP SXA CD XP SXA Standalone XP XConnect aspnet:4.8-windowsservercore-ltsc2019 @RobEarlam XP XConnect Index Worker XP XConnect Processing Engine XP XConnect Automation Engine runtime:4.8-windowsservercore-ltsc2019 XP SXA Solr sitecore-openjdk:8nanoserver-ltsc2019
@RobEarlam
Development Flow • Include custom docker-compose in your solution • Renamed to make it simpler to run • Included .env file amended • Whale-Names • Customise volumes, deployment & License • Named volumes for easier management • TDS configuration • ‘Enable container deployment’ checkbox @RobEarlam
Debugging Flow • Install Remote Debugging • Include Remote Debugging volume map • Latest VS2019 - 16.5 + • Select ‘Managed Code’ @RobEarlam
Closing Thoughts @RobEarlam
Benefits • Different Client Projects • Different Sitecore Versions • Dependency versions • Upgrades @RobEarlam
@RobEarlam
Links Videos: • Docker – A Quick Introduction • https://www.youtube.com/watch?v=RMYGVOswIKk • Sitecore Docker Images Repo • https://www.youtube.com/watch?v=cA1CMdwrNVU Github • This Repo • https://github.com/robearlam/sitecore-and-docker-so-hot-right-now • Sitecore Docker Images Repo • @RobEarlam https://github.com/Sitecore/docker-images © 2001-2020 Sitecore Corporation A/S. Sitecore® and Own the Experience® are registered trademarks of Sitecore Corporation A/S. All other brand names are the property of their respective owners.
Thank you FOR DISCUSSION PURPOSES ONLY. Sitecore Confidential and Proprietary. ©2020 Sitecore Corporation A/S. Sitecore® and Own the Experience® are registered trademarks of Sitecore Corporation A/S. All other brand names are the property of their respective owners. @RobEarlam