-
Notifications
You must be signed in to change notification settings - Fork 26
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #15 from Sitecore/feature/add_support_package_309
Add SXP Sitecore Container Deployment 10.1.0.005207.309
- Loading branch information
Showing
205 changed files
with
6,293 additions
and
0 deletions.
There are no files selected for viewing
10 changes: 10 additions & 0 deletions
10
compose/sxp/10.1/2004/upgrade/xm1/docker-compose.upgrade.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
version: "2.4" | ||
services: | ||
mssql-upgrade: | ||
image: ${SITECORE_DOCKER_REGISTRY}sitecore-xm1-mssql-upgrade:${SITECORE_VERSION} | ||
environment: | ||
Sitecore_ConnectionStrings_Core: Data Source=${SQL_SERVER};Initial Catalog=${SQL_DATABASE_PREFIX}.Core;User ID=${SQL_USERNAME};Password=${SQL_PASSWORD} | ||
Sitecore_ConnectionStrings_Master: Data Source=${SQL_SERVER};Initial Catalog=${SQL_DATABASE_PREFIX}.Master;User ID=${SQL_USERNAME};Password=${SQL_PASSWORD} | ||
Sitecore_ConnectionStrings_Web: Data Source=${SQL_SERVER};Initial Catalog=${SQL_DATABASE_PREFIX}.Web;User ID=${SQL_USERNAME};Password=${SQL_PASSWORD} | ||
Sitecore_License: ${SITECORE_LICENSE} | ||
isolation: ${ISOLATION} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
COMPOSE_PROJECT_NAME=sitecore-xm1 | ||
SITECORE_DOCKER_REGISTRY=scr.sitecore.com/sxp/ | ||
SITECORE_VERSION=10.1-2004 | ||
SQL_DATABASE_PREFIX=Sitecore | ||
SQL_SERVER= | ||
SQL_USERNAME= | ||
SQL_PASSWORD= | ||
SITECORE_LICENSE= | ||
ISOLATION=default |
17 changes: 17 additions & 0 deletions
17
compose/sxp/10.1/2004/upgrade/xp1/docker-compose.upgrade.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
version: "2.4" | ||
services: | ||
mssql-upgrade: | ||
image: ${SITECORE_DOCKER_REGISTRY}sitecore-xp1-mssql-upgrade:${SITECORE_VERSION} | ||
environment: | ||
IS_ALWAYS_ENCRYPTED: ${IS_ALWAYS_ENCRYPTED} | ||
PROCESSING_ENGINE_TASKS_DATABASE_USERNAME: ${PROCESSING_ENGINE_TASKS_DATABASE_USERNAME} | ||
Sitecore_ConnectionStrings_Core: Data Source=${SQL_SERVER};Initial Catalog=${SQL_DATABASE_PREFIX}.Core;User ID=${SQL_USERNAME};Password=${SQL_PASSWORD} | ||
Sitecore_ConnectionStrings_Master: Data Source=${SQL_SERVER};Initial Catalog=${SQL_DATABASE_PREFIX}.Master;User ID=${SQL_USERNAME};Password=${SQL_PASSWORD} | ||
Sitecore_ConnectionStrings_Web: Data Source=${SQL_SERVER};Initial Catalog=${SQL_DATABASE_PREFIX}.Web;User ID=${SQL_USERNAME};Password=${SQL_PASSWORD} | ||
Sitecore_ConnectionStrings_Marketingautomation: Data Source=${SQL_SERVER};Initial Catalog=${SQL_DATABASE_PREFIX}.Marketingautomation;User ID=${SQL_USERNAME};Password=${SQL_PASSWORD} | ||
Sitecore_ConnectionStrings_Messaging: Data Source=${SQL_SERVER};Initial Catalog=${SQL_DATABASE_PREFIX}.Messaging;User ID=${SQL_USERNAME};Password=${SQL_PASSWORD} | ||
Sitecore_ConnectionStrings_Xdb_Collection_Shard0: Data Source=${SQL_SERVER};Initial Catalog=${SQL_DATABASE_PREFIX}.Xdb.Collection.Shard0;User ID=${SQL_USERNAME};Password=${SQL_PASSWORD} | ||
Sitecore_ConnectionStrings_Xdb_Collection_Shard1: Data Source=${SQL_SERVER};Initial Catalog=${SQL_DATABASE_PREFIX}.Xdb.Collection.Shard1;User ID=${SQL_USERNAME};Password=${SQL_PASSWORD} | ||
Sitecore_ConnectionStrings_Processing_Engine_Tasks: Data Source=${SQL_SERVER};Initial Catalog=${SQL_DATABASE_PREFIX}.Processing.Engine.Tasks;User ID=${SQL_USERNAME};Password=${SQL_PASSWORD} | ||
Sitecore_License: ${SITECORE_LICENSE} | ||
isolation: ${ISOLATION} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
COMPOSE_PROJECT_NAME=sitecore-xp1 | ||
SITECORE_DOCKER_REGISTRY=scr.sitecore.com/sxp/ | ||
SITECORE_VERSION=10.1-2004 | ||
SQL_DATABASE_PREFIX=Sitecore | ||
SQL_SERVER= | ||
SQL_USERNAME= | ||
SQL_PASSWORD= | ||
IS_ALWAYS_ENCRYPTED= | ||
PROCESSING_ENGINE_TASKS_DATABASE_USERNAME= | ||
SITECORE_LICENSE= | ||
ISOLATION=default |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
COMPOSE_PROJECT_NAME=sitecore-xm1 | ||
SITECORE_DOCKER_REGISTRY=scr.sitecore.com/sxp/ | ||
SITECORE_VERSION=10.1-2004 | ||
SITECORE_ADMIN_PASSWORD= | ||
SQL_SA_PASSWORD= | ||
TELERIK_ENCRYPTION_KEY= | ||
SITECORE_IDSECRET= | ||
SITECORE_ID_CERTIFICATE= | ||
SITECORE_ID_CERTIFICATE_PASSWORD= | ||
SITECORE_LICENSE= | ||
CD_HOST=xm1cd.localhost | ||
CM_HOST=xm1cm.localhost | ||
ID_HOST=xm1id.localhost | ||
TRAEFIK_IMAGE=traefik:v2.2.0-windowsservercore-1809 | ||
TRAEFIK_ISOLATION=hyperv | ||
ISOLATION=default | ||
SOLR_CORE_PREFIX_NAME=sitecore | ||
# You should change the shared secret to a random string and not use the default value | ||
MEDIA_REQUEST_PROTECTION_SHARED_SECRET=HQ(NjM(u6_5koVla-cTf4ta8x1h6Sb+ZcUQrULUz-0Afpx0cx-NuMtIoQkpDFmX5 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,156 @@ | ||
version: "2.4" | ||
services: | ||
traefik: | ||
isolation: ${TRAEFIK_ISOLATION} | ||
image: ${TRAEFIK_IMAGE} | ||
command: | ||
- "--ping" | ||
- "--api.insecure=true" | ||
- "--providers.docker.endpoint=npipe:////./pipe/docker_engine" | ||
- "--providers.docker.exposedByDefault=false" | ||
- "--providers.file.directory=C:/etc/traefik/config/dynamic" | ||
- "--entryPoints.websecure.address=:443" | ||
ports: | ||
- "443:443" | ||
- "8079:8080" | ||
healthcheck: | ||
test: ["CMD", "traefik", "healthcheck", "--ping"] | ||
volumes: | ||
- source: \\.\pipe\docker_engine | ||
target: \\.\pipe\docker_engine | ||
type: npipe | ||
- ./traefik:C:/etc/traefik | ||
depends_on: | ||
id: | ||
condition: service_healthy | ||
cd: | ||
condition: service_healthy | ||
cm: | ||
condition: service_healthy | ||
redis: | ||
isolation: ${ISOLATION} | ||
image: ${SITECORE_DOCKER_REGISTRY}sitecore-redis:${SITECORE_VERSION} | ||
mssql: | ||
isolation: ${ISOLATION} | ||
image: ${SITECORE_DOCKER_REGISTRY}sitecore-xm1-mssql:${SITECORE_VERSION} | ||
environment: | ||
SA_PASSWORD: ${SQL_SA_PASSWORD} | ||
SITECORE_ADMIN_PASSWORD: ${SITECORE_ADMIN_PASSWORD} | ||
ACCEPT_EULA: "Y" | ||
ports: | ||
- "14330:1433" | ||
volumes: | ||
- type: bind | ||
source: .\mssql-data | ||
target: c:\data | ||
solr: | ||
isolation: ${ISOLATION} | ||
image: ${SITECORE_DOCKER_REGISTRY}nonproduction/solr:8.4.0-${SITECORE_VERSION} | ||
ports: | ||
- "8984:8983" | ||
volumes: | ||
- type: bind | ||
source: .\solr-data | ||
target: c:\data | ||
environment: | ||
SOLR_MODE: solrcloud | ||
solr-init: | ||
isolation: ${ISOLATION} | ||
image: ${SITECORE_DOCKER_REGISTRY}sitecore-xm1-solr-init:${SITECORE_VERSION} | ||
environment: | ||
SITECORE_SOLR_CONNECTION_STRING: http://solr:8983/solr | ||
SOLR_CORE_PREFIX_NAME: ${SOLR_CORE_PREFIX_NAME} | ||
depends_on: | ||
solr: | ||
condition: service_healthy | ||
id: | ||
isolation: ${ISOLATION} | ||
image: ${SITECORE_DOCKER_REGISTRY}sitecore-id:${SITECORE_VERSION} | ||
environment: | ||
Sitecore_Sitecore__IdentityServer__SitecoreMemberShipOptions__ConnectionString: Data Source=mssql;Initial Catalog=Sitecore.Core;User ID=sa;Password=${SQL_SA_PASSWORD} | ||
Sitecore_Sitecore__IdentityServer__AccountOptions__PasswordRecoveryUrl: https://${CM_HOST}/sitecore/login?rc=1 | ||
Sitecore_Sitecore__IdentityServer__Clients__PasswordClient__ClientSecrets__ClientSecret1: ${SITECORE_IDSECRET} | ||
Sitecore_Sitecore__IdentityServer__Clients__DefaultClient__AllowedCorsOrigins__AllowedCorsOriginsGroup1: https://${CM_HOST} | ||
Sitecore_Sitecore__IdentityServer__CertificateRawData: ${SITECORE_ID_CERTIFICATE} | ||
Sitecore_Sitecore__IdentityServer__PublicOrigin: https://${ID_HOST} | ||
Sitecore_Sitecore__IdentityServer__CertificateRawDataPassword: ${SITECORE_ID_CERTIFICATE_PASSWORD} | ||
Sitecore_License: ${SITECORE_LICENSE} | ||
healthcheck: | ||
test: ["CMD", "powershell", "-command", "C:/Healthchecks/Healthcheck.ps1"] | ||
timeout: 300s | ||
depends_on: | ||
mssql: | ||
condition: service_healthy | ||
labels: | ||
- "traefik.enable=true" | ||
- "traefik.http.routers.id-secure.entrypoints=websecure" | ||
- "traefik.http.routers.id-secure.rule=Host(`${ID_HOST}`)" | ||
- "traefik.http.routers.id-secure.tls=true" | ||
cd: | ||
isolation: ${ISOLATION} | ||
image: ${SITECORE_DOCKER_REGISTRY}sitecore-xm1-cd:${SITECORE_VERSION} | ||
depends_on: | ||
mssql: | ||
condition: service_healthy | ||
solr-init: | ||
condition: service_started | ||
redis: | ||
condition: service_started | ||
environment: | ||
Sitecore_AppSettings_instanceNameMode:define: default | ||
Sitecore_ConnectionStrings_Security: Data Source=mssql;Initial Catalog=Sitecore.Core;User ID=sa;Password=${SQL_SA_PASSWORD} | ||
Sitecore_ConnectionStrings_Web: Data Source=mssql;Initial Catalog=Sitecore.Web;User ID=sa;Password=${SQL_SA_PASSWORD} | ||
Sitecore_ConnectionStrings_ExperienceForms: Data Source=mssql;Initial Catalog=Sitecore.ExperienceForms;User ID=sa;Password=${SQL_SA_PASSWORD} | ||
Sitecore_ConnectionStrings_Solr.Search: http://solr:8983/solr;solrCloud=true | ||
Sitecore_ConnectionStrings_Redis.Sessions: redis:6379,ssl=False,abortConnect=False | ||
Sitecore_License: ${SITECORE_LICENSE} | ||
SOLR_CORE_PREFIX_NAME: ${SOLR_CORE_PREFIX_NAME} | ||
MEDIA_REQUEST_PROTECTION_SHARED_SECRET: ${MEDIA_REQUEST_PROTECTION_SHARED_SECRET} | ||
healthcheck: | ||
test: ["CMD", "powershell", "-command", "C:/Healthchecks/Healthcheck.ps1"] | ||
timeout: 300s | ||
labels: | ||
- "traefik.enable=true" | ||
- "traefik.http.routers.cd-secure.entrypoints=websecure" | ||
- "traefik.http.routers.cd-secure.rule=Host(`${CD_HOST}`)" | ||
- "traefik.http.routers.cd-secure.tls=true" | ||
cm: | ||
isolation: ${ISOLATION} | ||
image: ${SITECORE_DOCKER_REGISTRY}sitecore-xm1-cm:${SITECORE_VERSION} | ||
depends_on: | ||
mssql: | ||
condition: service_healthy | ||
solr-init: | ||
condition: service_started | ||
id: | ||
condition: service_started | ||
environment: | ||
Sitecore_AppSettings_instanceNameMode:define: default | ||
Sitecore_ConnectionStrings_Core: Data Source=mssql;Initial Catalog=Sitecore.Core;User ID=sa;Password=${SQL_SA_PASSWORD} | ||
Sitecore_ConnectionStrings_Security: Data Source=mssql;Initial Catalog=Sitecore.Core;User ID=sa;Password=${SQL_SA_PASSWORD} | ||
Sitecore_ConnectionStrings_Master: Data Source=mssql;Initial Catalog=Sitecore.Master;User ID=sa;Password=${SQL_SA_PASSWORD} | ||
Sitecore_ConnectionStrings_Web: Data Source=mssql;Initial Catalog=Sitecore.Web;User ID=sa;Password=${SQL_SA_PASSWORD} | ||
Sitecore_ConnectionStrings_ExperienceForms: Data Source=mssql;Initial Catalog=Sitecore.ExperienceForms;User ID=sa;Password=${SQL_SA_PASSWORD} | ||
Sitecore_ConnectionStrings_Solr.Search: http://solr:8983/solr;solrCloud=true | ||
Sitecore_ConnectionStrings_Sitecoreidentity.secret: ${SITECORE_IDSECRET} | ||
Sitecore_AppSettings_Telerik.AsyncUpload.ConfigurationEncryptionKey: ${TELERIK_ENCRYPTION_KEY} | ||
Sitecore_AppSettings_Telerik.Upload.ConfigurationHashKey: ${TELERIK_ENCRYPTION_KEY} | ||
Sitecore_AppSettings_Telerik.Web.UI.DialogParametersEncryptionKey: ${TELERIK_ENCRYPTION_KEY} | ||
Sitecore_License: ${SITECORE_LICENSE} | ||
Sitecore_Identity_Server_Authority: https://${ID_HOST} | ||
Sitecore_Identity_Server_InternalAuthority: http://id | ||
Sitecore_Identity_Server_CallbackAuthority: https://${CM_HOST} | ||
Sitecore_Identity_Server_Require_Https: "false" | ||
SOLR_CORE_PREFIX_NAME: ${SOLR_CORE_PREFIX_NAME} | ||
MEDIA_REQUEST_PROTECTION_SHARED_SECRET: ${MEDIA_REQUEST_PROTECTION_SHARED_SECRET} | ||
healthcheck: | ||
test: ["CMD", "powershell", "-command", "C:/Healthchecks/Healthcheck.ps1"] | ||
timeout: 300s | ||
labels: | ||
- "traefik.enable=true" | ||
- "traefik.http.middlewares.force-STS-Header.headers.forceSTSHeader=true" | ||
- "traefik.http.middlewares.force-STS-Header.headers.stsSeconds=31536000" | ||
- "traefik.http.routers.cm-secure.entrypoints=websecure" | ||
- "traefik.http.routers.cm-secure.rule=Host(`${CM_HOST}`)" | ||
- "traefik.http.routers.cm-secure.tls=true" | ||
- "traefik.http.routers.cm-secure.middlewares=force-STS-Header" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
database files will be mounted here |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
solr indexes will be mounted here |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
Add TLS certificates for xm1cd.localhost, xm1cm.localhost and xm1id.localhost hosts to this folder: | ||
xm1cd.localhost.crt | ||
xm1cd.localhost.key | ||
xm1cm.localhost.crt | ||
xm1cm.localhost.key | ||
xm1id.localhost.crt | ||
xm1id.localhost.key |
8 changes: 8 additions & 0 deletions
8
compose/sxp/10.1/2004/xm1/traefik/config/dynamic/certs_config.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
tls: | ||
certificates: | ||
- certFile: C:\etc\traefik\certs\xm1cd.localhost.crt | ||
keyFile: C:\etc\traefik\certs\xm1cd.localhost.key | ||
- certFile: C:\etc\traefik\certs\xm1cm.localhost.crt | ||
keyFile: C:\etc\traefik\certs\xm1cm.localhost.key | ||
- certFile: C:\etc\traefik\certs\xm1id.localhost.crt | ||
keyFile: C:\etc\traefik\certs\xm1id.localhost.key |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
COMPOSE_PROJECT_NAME=sitecore-xp0 | ||
SITECORE_DOCKER_REGISTRY=scr.sitecore.com/sxp/ | ||
SITECORE_VERSION=10.1-2004 | ||
SITECORE_ADMIN_PASSWORD= | ||
SQL_SA_PASSWORD= | ||
TELERIK_ENCRYPTION_KEY= | ||
SITECORE_IDSECRET= | ||
SITECORE_ID_CERTIFICATE= | ||
SITECORE_ID_CERTIFICATE_PASSWORD= | ||
SITECORE_LICENSE= | ||
CM_HOST=xp0cm.localhost | ||
ID_HOST=xp0id.localhost | ||
TRAEFIK_IMAGE=traefik:v2.2.0-windowsservercore-1809 | ||
TRAEFIK_ISOLATION=hyperv | ||
ISOLATION=default | ||
SOLR_CORE_PREFIX_NAME=sitecore | ||
# You should change the shared secret to a random string and not use the default value | ||
MEDIA_REQUEST_PROTECTION_SHARED_SECRET=HQ(NjM(u6_5koVla-cTf4ta8x1h6Sb+ZcUQrULUz-0Afpx0cx-NuMtIoQkpDFmX5 |
Oops, something went wrong.