No description or website provided.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
xm1
.gitignore restructured file layout Oct 29, 2017
README.md
docker-compose.yml

README.md

Sitecore 9.0 in Docker

Docker images for Sitecore 9, a XM1 CM and a SQL Server. The Sitecore Install Framework (SIF) is used to install Sitecore inside the CM image following the official installation guidance. Windows 10 1709 (Fall Creators Update) is used since it has support for the new smaller windowsservercore versions (7GB vs 13GB).

Preparations

  1. Download Packages for XM Scaled and copy into .\xm1\cm\install.
  2. Copy your license.xml into .\xm1\cm\install.
  3. Open Sitecore 9.0.0 rev. 171002 (WDP XM1 packages).zip and inside, open Sitecore 9.0.0 rev. 171002 (OnPrem)_cm.scwdp.zip and copy the following files into .\xm1\sql\install:
    1. Sitecore.Core.dacpac
    2. Sitecore.Master.dadcpac
    3. Sitecore.Web.dacpac
    4. Sitecore.ExperienceForms.dacpac
  4. Build with: docker-compose build (takes a while).

Usage

  1. Start: docker-compose up
  2. Get IP: docker inspect -f '{{range .NetworkSettings.Networks}}{{.IPAddress}}{{end}}' sitecoreninedocker_cm_1 and open with browser.

Persistence

If you need persistence you can manually build the Sitecore image specifying an external SQL server:

docker image build --build-arg SQL_SERVER=XXX --build-arg SQL_USER=XXX --build-arg SQL_PASSWORD=XXX --build-arg SQL_DB_PREFIX=XXX ./sitecore-xm1

Or you can roll your own Dockerfile using this as a base and add your own ConnectionStrings.config.