Skip to content

Commit

Permalink
Merge pull request #105 from Sitecore/issue/103/platform-10.0.1
Browse files Browse the repository at this point in the history
[Closes #103] update all examples to Sitecore 10.0.1
  • Loading branch information
nickwesselman authored Dec 16, 2020
2 parents 0b973b8 + bcb3b8f commit 25a948d
Show file tree
Hide file tree
Showing 14 changed files with 33 additions and 39 deletions.
3 changes: 2 additions & 1 deletion examples/helix-basic-aspnetcore/.env
Original file line number Diff line number Diff line change
Expand Up @@ -19,13 +19,14 @@ SITE_HOST=www.basic-company-aspnetcore.localhost
SITECORE_DOCKER_REGISTRY=scr.sitecore.com/sxp/
SITECORE_MODULE_REGISTRY=scr.sitecore.com/sxp/modules/
SITECORE_TOOLS_REGISTRY=scr.sitecore.com/tools/
SITECORE_VERSION=10.0.0-ltsc2019
SITECORE_VERSION=10.0-ltsc2019
HEADLESS_SERVICES_VERSION=15.0.1-1809
MANAGEMENT_SERVICES_VERSION=2.0.0-1809
TOOLS_VERSION=10.0.0-1809

SITECORE_ADMIN_PASSWORD=
SQL_SA_PASSWORD=
SOLR_CORE_PREFIX_NAME=sitecore
TELERIK_ENCRYPTION_KEY=
SITECORE_IDSECRET=
SITECORE_ID_CERTIFICATE=
Expand Down
5 changes: 0 additions & 5 deletions examples/helix-basic-aspnetcore/docker-compose.override.yml
Original file line number Diff line number Diff line change
Expand Up @@ -114,11 +114,6 @@ services:
environment:
SITECORE_LICENSE_LOCATION: C:\license\license.xml
entrypoint: powershell -Command "& C:\tools\entrypoints\iis\Development.ps1"
labels:
- "traefik.enable=true"
- "traefik.http.routers.cd.entrypoints=websecure"
- "traefik.http.routers.cd.rule=Host(`${CD_HOST}`)"
- "traefik.http.routers.cd.tls=true"

cm:
image: ${REGISTRY}${COMPOSE_PROJECT_NAME}-xm1-cm:${VERSION:-latest}
Expand Down
9 changes: 5 additions & 4 deletions examples/helix-basic-aspnetcore/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,8 @@ services:
- "--providers.docker.endpoint=npipe:////./pipe/docker_engine"
- "--providers.docker.exposedByDefault=false"
- "--providers.file.directory=C:/etc/traefik/config/dynamic"
- "--entryPoints.web.address=:80"
- "--entryPoints.websecure.address=:443"
ports:
- "8080:80"
- "443:443"
- "8079:8080"
healthcheck:
Expand Down Expand Up @@ -95,13 +93,15 @@ services:
Sitecore_ConnectionStrings_Solr.Search: http://solr:8983/solr
Sitecore_ConnectionStrings_Redis.Sessions: redis:6379,ssl=False,abortConnect=False
Sitecore_License: ${SITECORE_LICENSE}
SOLR_CORE_PREFIX_NAME: ${SOLR_CORE_PREFIX_NAME}
healthcheck:
test: ["CMD", "powershell", "-command", "C:/Healthchecks/Healthcheck.ps1"]
timeout: 300s
labels:
- "traefik.enable=true"
- "traefik.http.routers.cd.entrypoints=web"
- "traefik.http.routers.cd.rule=Host(`${CD_HOST}`)"
- "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}
Expand Down Expand Up @@ -129,6 +129,7 @@ services:
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}
healthcheck:
test: ["CMD", "powershell", "-command", "C:/Healthchecks/Healthcheck.ps1"]
timeout: 300s
Expand Down
3 changes: 2 additions & 1 deletion examples/helix-basic-tds-consolidated/.env
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,12 @@ SITE_HOST=www.basic-company-tds-consolidated.localhost

SITECORE_DOCKER_REGISTRY=scr.sitecore.com/sxp/
SITECORE_TOOLS_REGISTRY=scr.sitecore.com/tools/
SITECORE_VERSION=10.0.0-ltsc2019
SITECORE_VERSION=10.0-ltsc2019
TOOLS_VERSION=10.0.0-1809

SITECORE_ADMIN_PASSWORD=
SQL_SA_PASSWORD=
SOLR_CORE_PREFIX_NAME=sitecore
TELERIK_ENCRYPTION_KEY=
SITECORE_IDSECRET=
SITECORE_ID_CERTIFICATE=
Expand Down
2 changes: 1 addition & 1 deletion examples/helix-basic-tds-consolidated/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ Once complete, you can access the instance with the following.

The serialized items will automatically sync when the instance is started, but you'll need to publish them.

Login to Sitecore at https://cm.basic-company-tds-consolidated.localhost/sitecore and perform a site smart publish. Use "admin" and the password you specified on init ("b" by default).
Login to Sitecore at https://cm.basic-company-tds-consolidated.localhost/sitecore. Ensure the items are done deploying (look for `/sitecore/content/Basic Company`), and perform a site smart publish. Use "admin" and the password you specified on init ("b" by default).

You should now be able to view the Basic Company site at https://www.basic-company-tds-consolidated.localhost.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -74,10 +74,7 @@ services:
SITECORE_LICENSE_LOCATION: C:\license\license.xml
entrypoint: powershell -Command "& C:\tools\entrypoints\iis\Development.ps1"
labels:
- "traefik.http.routers.site-secure.entrypoints=websecure"
- "traefik.http.routers.site-secure.rule=Host(`${SITE_HOST}`)"
- "traefik.http.routers.site-secure.tls=true"
- "traefik.http.routers.site-secure.middlewares=force-STS-Header"
- "traefik.http.routers.cd-secure.rule=Host(`${SITE_HOST}`) || Host(`${CD_HOST}`)"

cm:
image: ${REGISTRY}${COMPOSE_PROJECT_NAME}-xm1-cm:${VERSION:-latest}
Expand Down
9 changes: 5 additions & 4 deletions examples/helix-basic-tds-consolidated/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,8 @@ services:
- "--providers.docker.endpoint=npipe:////./pipe/docker_engine"
- "--providers.docker.exposedByDefault=false"
- "--providers.file.directory=C:/etc/traefik/config/dynamic"
- "--entryPoints.web.address=:80"
- "--entryPoints.websecure.address=:443"
ports:
- "8080:80"
- "443:443"
- "8079:8080"
healthcheck:
Expand Down Expand Up @@ -95,13 +93,15 @@ services:
Sitecore_ConnectionStrings_Solr.Search: http://solr:8983/solr
Sitecore_ConnectionStrings_Redis.Sessions: redis:6379,ssl=False,abortConnect=False
Sitecore_License: ${SITECORE_LICENSE}
SOLR_CORE_PREFIX_NAME: ${SOLR_CORE_PREFIX_NAME}
healthcheck:
test: ["CMD", "powershell", "-command", "C:/Healthchecks/Healthcheck.ps1"]
timeout: 300s
labels:
- "traefik.enable=true"
- "traefik.http.routers.cd.entrypoints=web"
- "traefik.http.routers.cd.rule=Host(`${CD_HOST}`)"
- "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}
Expand Down Expand Up @@ -129,6 +129,7 @@ services:
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}
healthcheck:
test: ["CMD", "powershell", "-command", "C:/Healthchecks/Healthcheck.ps1"]
timeout: 300s
Expand Down
3 changes: 2 additions & 1 deletion examples/helix-basic-tds/.env
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ SITE_HOST=www.basic-company-tds.localhost

SITECORE_DOCKER_REGISTRY=scr.sitecore.com/sxp/
SITECORE_TOOLS_REGISTRY=scr.sitecore.com/tools/
SITECORE_VERSION=10.0.0-ltsc2019
SITECORE_VERSION=10.0-ltsc2019
TOOLS_VERSION=10.0.0-1809

SITECORE_ADMIN_PASSWORD=
Expand All @@ -25,6 +25,7 @@ TELERIK_ENCRYPTION_KEY=
SITECORE_IDSECRET=
SITECORE_ID_CERTIFICATE=
SITECORE_ID_CERTIFICATE_PASSWORD=
SOLR_CORE_PREFIX_NAME=sitecore
# Because we are using a mounted license file, this value can be empty.
# Included here to suppress 'variable is not set' warning from docker-compose.
SITECORE_LICENSE=
Expand Down
2 changes: 1 addition & 1 deletion examples/helix-basic-tds/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ Once complete, you can access the instance with the following.

The serialized items will automatically sync when the instance is started, but you'll need to publish them.

Login to Sitecore at https://cm.basic-company-tds.localhost/sitecore and perform a site smart publish. Use "admin" and the password you specified on init ("b" by default).
Login to Sitecore at https://cm.basic-company-tds.localhost/sitecore. Ensure the items are done deploying (look for `/sitecore/content/Basic Company`), and perform a site smart publish. Use "admin" and the password you specified on init ("b" by default).

You should now be able to view the Basic Company site at https://www.basic-company-tds.localhost.

Expand Down
5 changes: 1 addition & 4 deletions examples/helix-basic-tds/docker-compose.override.yml
Original file line number Diff line number Diff line change
Expand Up @@ -74,10 +74,7 @@ services:
SITECORE_LICENSE_LOCATION: C:\license\license.xml
entrypoint: powershell -Command "& C:\tools\entrypoints\iis\Development.ps1"
labels:
- "traefik.http.routers.site-secure.entrypoints=websecure"
- "traefik.http.routers.site-secure.rule=Host(`${SITE_HOST}`)"
- "traefik.http.routers.site-secure.tls=true"
- "traefik.http.routers.site-secure.middlewares=force-STS-Header"
- "traefik.http.routers.cd-secure.rule=Host(`${SITE_HOST}`) || Host(`${CD_HOST}`)"

cm:
image: ${REGISTRY}${COMPOSE_PROJECT_NAME}-xm1-cm:${VERSION:-latest}
Expand Down
9 changes: 5 additions & 4 deletions examples/helix-basic-tds/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,8 @@ services:
- "--providers.docker.endpoint=npipe:////./pipe/docker_engine"
- "--providers.docker.exposedByDefault=false"
- "--providers.file.directory=C:/etc/traefik/config/dynamic"
- "--entryPoints.web.address=:80"
- "--entryPoints.websecure.address=:443"
ports:
- "8080:80"
- "443:443"
- "8079:8080"
healthcheck:
Expand Down Expand Up @@ -95,13 +93,15 @@ services:
Sitecore_ConnectionStrings_Solr.Search: http://solr:8983/solr
Sitecore_ConnectionStrings_Redis.Sessions: redis:6379,ssl=False,abortConnect=False
Sitecore_License: ${SITECORE_LICENSE}
SOLR_CORE_PREFIX_NAME: ${SOLR_CORE_PREFIX_NAME}
healthcheck:
test: ["CMD", "powershell", "-command", "C:/Healthchecks/Healthcheck.ps1"]
timeout: 300s
labels:
- "traefik.enable=true"
- "traefik.http.routers.cd.entrypoints=web"
- "traefik.http.routers.cd.rule=Host(`${CD_HOST}`)"
- "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}
Expand Down Expand Up @@ -129,6 +129,7 @@ services:
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}
healthcheck:
test: ["CMD", "powershell", "-command", "C:/Healthchecks/Healthcheck.ps1"]
timeout: 300s
Expand Down
3 changes: 2 additions & 1 deletion examples/helix-basic-unicorn/.env
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,12 @@ SITE_HOST=www.basic-company-unicorn.localhost

SITECORE_DOCKER_REGISTRY=scr.sitecore.com/sxp/
SITECORE_TOOLS_REGISTRY=scr.sitecore.com/tools/
SITECORE_VERSION=10.0.0-ltsc2019
SITECORE_VERSION=10.0-ltsc2019
TOOLS_VERSION=10.0.0-1809

SITECORE_ADMIN_PASSWORD=
SQL_SA_PASSWORD=
SOLR_CORE_PREFIX_NAME=sitecore
TELERIK_ENCRYPTION_KEY=
SITECORE_IDSECRET=
SITECORE_ID_CERTIFICATE=
Expand Down
5 changes: 1 addition & 4 deletions examples/helix-basic-unicorn/docker-compose.override.yml
Original file line number Diff line number Diff line change
Expand Up @@ -73,10 +73,7 @@ services:
SITECORE_LICENSE_LOCATION: C:\license\license.xml
entrypoint: powershell -Command "& C:\tools\entrypoints\iis\Development.ps1"
labels:
- "traefik.http.routers.site-secure.entrypoints=websecure"
- "traefik.http.routers.site-secure.rule=Host(`${SITE_HOST}`)"
- "traefik.http.routers.site-secure.tls=true"
- "traefik.http.routers.site-secure.middlewares=force-STS-Header"
- "traefik.http.routers.cd-secure.rule=Host(`${SITE_HOST}`) || Host(`${CD_HOST}`)"

cm:
image: ${REGISTRY}${COMPOSE_PROJECT_NAME}-xm1-cm:${VERSION:-latest}
Expand Down
9 changes: 5 additions & 4 deletions examples/helix-basic-unicorn/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,8 @@ services:
- "--providers.docker.endpoint=npipe:////./pipe/docker_engine"
- "--providers.docker.exposedByDefault=false"
- "--providers.file.directory=C:/etc/traefik/config/dynamic"
- "--entryPoints.web.address=:80"
- "--entryPoints.websecure.address=:443"
ports:
- "8080:80"
- "443:443"
- "8079:8080"
healthcheck:
Expand Down Expand Up @@ -95,13 +93,15 @@ services:
Sitecore_ConnectionStrings_Solr.Search: http://solr:8983/solr
Sitecore_ConnectionStrings_Redis.Sessions: redis:6379,ssl=False,abortConnect=False
Sitecore_License: ${SITECORE_LICENSE}
SOLR_CORE_PREFIX_NAME: ${SOLR_CORE_PREFIX_NAME}
healthcheck:
test: ["CMD", "powershell", "-command", "C:/Healthchecks/Healthcheck.ps1"]
timeout: 300s
labels:
- "traefik.enable=true"
- "traefik.http.routers.cd.entrypoints=web"
- "traefik.http.routers.cd.rule=Host(`${CD_HOST}`)"
- "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}
Expand Down Expand Up @@ -129,6 +129,7 @@ services:
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}
healthcheck:
test: ["CMD", "powershell", "-command", "C:/Healthchecks/Healthcheck.ps1"]
timeout: 300s
Expand Down

0 comments on commit 25a948d

Please sign in to comment.