This document provides instructions for setting up Sitecore Docker containers for XP 9.3.0 with SXA, JSS, and PS modules. It outlines downloading the Sitecore Docker images from GitHub, building the images using PowerShell scripts, setting the Sitecore license, and starting the XP container composition. It also lists the available Sitecore Docker topologies and known issues regarding the Publishing Service URL and a clash with the Node.js process when using JSS.
4. Set Sitecore License
1. 9.2.0 - Set LICENSE_PATH in `windowstests9.2.x.env`
LICENSE_PATH=C:license
2. 9.3.0 - Set SITECORE_LICENSE in `windowstests9.3.x.env`
SITECORE_LICENSE=H4sIAAAAAAAEAO3d5kpdJEU/SK7DuhE70QjkoP5QSd67 ...8AAA==
./Set-LicenseEnvironmentVariable.ps1`
-Path C:licenselicense.xml
-PersistForCurrentUser
[Environment]::GetEnvironmentVariable("SITECORE_LICENSE", "User")
[Environment]::SetEnvironmentVariable("SITECORE_LICENSE", $null, "User")
5. Sitecore Docker – How to Set the License for Sitecore 9.3 containers?
https://sitecore.namics.com/2020/02/13/sitecore
-docker-how-to-set-the-license-for-sitecore-9-3-
containers
6. Starting Sitecore XP with SXA+JSS+PS
Open PowerShell in `windowstests9.3.x` directory and run:
docker-compose -f “docker-compose.xp.sxa.ps.jss.yml” up
9. Sitecore Publishing Service on Docker
● PublishingService.UrlRoot is set incorrectly (default value is not
changed) on CM: https://github.com/Sitecore/docker-images/issues/208
<configuration xmlns:patch="http://www.sitecore.net/xmlconfig/"
xmlns:role="http://www.sitecore.net/xmlconfig/role/">
<sitecore role:require="Standalone or ContentManagement">
<settings>
<!-- The HTTP endpoint for the service →
<setting name="PublishingService.UrlRoot" value="http://localhost:5000/"></setting>
...
● Interim fix: Deploy a custom config include file to CM wich sets
PublishingService.UrlRoot to `http://ps/`.
10. Sitecore JSS on Docker (Microsoft)
● ServiceMonitor.exe which launches w3wp process pases
PSMODULEPATH environment variable to the process context which has a
clash with PSModulePath environment variable. Due to this issue Sitecore
fails to start Node process during JSS deployment.
https://github.com/microsoft/IIS.ServiceMonitor/issues/48
● Fix: Get the code from https://github.com/microsoft/IIS.ServiceMonitor and
compile ServiceMonitor.exe yourself. Then mound your version of
ServiceMonitor.exe and change the entrypoint to use your version.