diff --git a/.docker-compose/README.md b/.docker-compose/README.md index ab7d82076..66540b7e1 100644 --- a/.docker-compose/README.md +++ b/.docker-compose/README.md @@ -1,5 +1,7 @@ -sed -i '' 's/dev\.comet\-dxp\.com/comet-starter-site-tyqqf.ondigitalocean.app/g' site-configs/main.ts +sed -i 's/dev\.comet\-dxp\.com/cometdxp.com/g' site-configs/main.ts APP_ENV=dev npx -y @comet/cli inject-site-configs -f ../../../../../site-configs/site-configs.ts -i .docker-compose/docker-compose.tpl.yml -o .docker-compose/docker-compose.yml docker compose -f .docker-compose/docker-compose.yml build docker compose -f .docker-compose/docker-compose.yml up + +Traefik dashboard available at http://localhost:8088 diff --git a/.docker-compose/docker-compose.tpl.yml b/.docker-compose/docker-compose.tpl.yml index 5c1bbb742..a8275b5e6 100644 --- a/.docker-compose/docker-compose.tpl.yml +++ b/.docker-compose/docker-compose.tpl.yml @@ -5,15 +5,9 @@ services: command: # - "--log.level=TRACE" - "--accessLog=true" - - "--accessLog.fields.defaultMode=keep" - - "--accessLog.fields.headers.defaultMode=keep" - - "--accessLog.fields.names.defaultMode=keep" - - "--accesslog.fields.headers.names.Cookie=keep" - - "--api.insecure=true" - "--providers.docker=true" - - "--providers.docker.exposedbydefault=false" + - "--providers.docker.exposedbydefault=false" # services need to be exposed by setting traefik.enable=true - "--entryPoints.websecure.address=:443" - - "--entryPoints.websecure.forwardedHeaders.insecure" - "--certificatesresolvers.myresolver.acme.tlschallenge=true" #- "--certificatesresolvers.myresolver.acme.caserver=https://acme-staging-v02.api.letsencrypt.org/directory" # used for cert debugging - "--certificatesresolvers.myresolver.acme.email=postmaster@cometdxp.com" @@ -137,7 +131,7 @@ services: API_URL: https://admin.cometdxp.com/api ADMIN_URL: https://admin.cometdxp.com PUBLIC_SITE_CONFIGS: "{{ site://configs/public/dev }}" - PREVIEW_URL: https://comet-starter-site-preview-jespg.ondigitalocean.app + PREVIEW_URL: https://comet-starter-site-preview-jespg.ondigitalocean.app # TODO site: build: