Deploy a workstation
You use Docker for Windows to deploy the Sitecore Experience Platform (SXP) container packages.
To deploy an SXP developer workstation on containers:
-
In Docker for Windows, switch to Windows container mode.
-
Download the SXP Container Deployment Package from the Sitecore download page and extract it to a folder on your local workstation. Navigate to the
compose\<windows version>\<topology>folder for the topology that you want to deploy, for example,compose\ltsc2022\xp1. -
In the topology folder, run the
compose-init.ps1script. -
In the Windows console, go to the folder that the
docker-compose.ymlfile is in and run the following Docker Compose command:Docker Compose pulls all the required images from the Sitecore Container Registry, creates the required Docker network configuration, and deploys all the containers to the local environment.
NoteThe required images include Sitecore roles and third party services for your chosen topology.
When the deployment is successfully completed, the Docker Compose command exits.
-
To check the Docker container status, run the following command:
This command generates a list of all the containers and their current status.
-
When the status of all the containers is listed as healthy, open a browser and enter the URL for the content management instance.
The default URLs for, for example, the XP1 topology are:
https://xp1cm.localhosthttps://xp1cd.localhosthttps://xp1id.localhost
The content management, content delivery, and identity services instances use the HTTPS protocol on port 443. If this port is in use by another process, you get an error message.
-
Verify that there are no errors in the internal container log files.
Rebuild the search indexes
When the deployment is done, you must rebuild the search indexes.
To rebuild the search indexes:
- On the Sitecore Launchpad, open the Control Panel.
- In the Indexing section, click Populate Solr Managed Schema.
- In the Schema Populate dialog box, click Select All, then click Populate. Wait for the process to finish.
- On the Control Panel, in the Indexing section, click Indexing Manager.
- In the Indexing Manager dialog box, click Select All, then click Rebuild.