coreyasmith / sitecore-docker-dev-only-configs

🐳 Code for my blog posts on backporting development-only configurations to @Sitecore 10 and creating custom configurations.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

🐳 Development-only Configurations for Sitecore on Docker

This repository contains code to demonstrate how to backport the development-only configuration feature that Sitecore introduced for containers in Sitecore 10.1, and how to create custom development-only configuration patches.

The code in this repository is a pared-down fork of the custom-images in Sitecore's docker-examples repository. That repository is an excellent reference for getting started with Sitecore and Docker.

πŸ—οΈ Setup

  1. Run init.ps1 to initialize the repository.
  2. Run docker-compose up -d --build from the root of the repository.

πŸš€ Usage

Navigate to https://cd.devonlyconfigs.localhost to observe the effects of the development-only configurations on the site.

Change the SITECORE_DEVELOPMENT_PATCHES environment variable in the .env file to adjust which development-only configurations are applied to the site. Run docker-compose up -d to apply the changes to the site. The list of out-of-the-box development patches can be found here and custom patches can be found in /docker/build/tools/dev-patches.

About

🐳 Code for my blog posts on backporting development-only configurations to @Sitecore 10 and creating custom configurations.


Languages

Language:PowerShell 47.3%Language:Dockerfile 19.6%Language:ASP.NET 12.6%Language:C# 12.1%Language:Shell 8.3%