#Sitecore Horizon now part of TheCodeAttic.Sitecore.DockerTemplates

Over the weekend I release version 1.2.0 of my dotnet CLI new templates for Sitecore Docker containers.

In this new release I have added base image files to support Sitecore Horizon as well as minor updates to the run template to provide the option to include Horizon as part of the service set.

You can install the latest from NuGet via the command following command

dotnet new --install TheCodeAttic.Sitecore.DockerTemplates::1.2.0
dotnet CLI install from NuGet command.
dotnet CLI install from NuGet

Creating a set of base images via sc-dockerbase will produce the following new folders and images that include the build instructions for adding Horizion

display of folder structure, specifically calling out CM Horizon and SQL Horizon directories

The base image docker-compose file contains build instructions for the following combinations with Horizon:

  • MS SQL with Sitecore PowerShell Extensions (SPE) + Horizon
  • MS SQL with Sitecore PowerShell Extensions (SPE) + Horizon + SXA
  • CM with Sitecore PowerShell Extensions (SPE) + Horizon
  • CM with Sitecore PowerShell Extensions (SPE) + Horizon + SXA

Run Images Template Updates

The other major addition in this release is to the run image template (sc-dockerrun) which includes a new flag to include logic to support a Horizon image.

Thus making the dotnet CLI new command

dotnet new sc-dockerrun -n HorizonRunSample --EnableHorizon

With this flag, the docker-compose file includes the setup required to support a Sitecore Horizon service.

Finally, the init.ps1 which must be ran before docker-compose upping, has gotten a new parameter named -HorizonHost for the host name to be assigned. Thus making init.ps1 look like

Where to Get It

Easiest way to start leveraging the TheCodeAttic.Sitecore.DockerTemplates is to simply download and install directly from NuGet, https://www.nuget.org/packages/TheCodeAttic.Sitecore.DockerTemplates/, via

dotnet new --install TheCodeAttic.Sitecore.DockerTemplates::1.2.0

The full source code can be retrieved from GitHub at https://github.com/gillissm/TheCodeAttic.Sitecore.DockerTemplates

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.