Skip to content

Commit

Permalink
[#103] updated Unicorn example to 10.0.1
Browse files Browse the repository at this point in the history
  • Loading branch information
nickwesselman committed Dec 16, 2020
1 parent 7d6e743 commit bcb3b8f
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 9 deletions.
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 bcb3b8f

Please sign in to comment.