# export appropriate ICM_BASE_URL and use with # docker compose up --build services: pwa: image: intershophub/intershop-pwa-ssr build: context: . # args: # serviceWorker: 'false' # activeThemes: b2b # activeThemes: b2c # command: ['node', 'dist/b2c/run-standalone'] # command: ['node', 'dist/b2b/run-standalone'] # ports: # - '4201:4200' # - '9113:9113' environment: ICM_BASE_URL: 'https://develop.icm.intershop.de' # TRUST_ICM: 'true' LOGGING: 'true' # LOG_ALL: 'false' SOURCE_MAPS: 'true' # SSR_HYBRID: 'true' # PROXY_ICM: 'true' # PROMETHEUS: 'true' # METRICS_DETAIL_LEVEL: 'DETAILED' # MULTI_SITE_LOCALE_MAP: | # en_US: /en # de_DE: /de # fr_FR: /fr # FEATURES: | # - compare # - rating # IDENTITY_PROVIDER: 'Auth0' IDENTITY_PROVIDERS: | Punchout: type: PUNCHOUT CoBrowse: type: cobrowse # Auth0: # type: auth0 # domain: some-domain.auth0.com # clientID: ASDF12345 # # allow backend requests to use HTTP/2 with Fetch API (experimental) # ALLOW_H2: 'true' # Logging to an External Device (see logging.md) # volumes: # - d:/pwa/logs:/.pm2/logs/ nginx: image: intershophub/intershop-pwa-nginx build: nginx depends_on: - pwa ports: - '4200:80' # - '9114:9113' # - '443:443' environment: UPSTREAM_PWA: 'http://pwa:4200' ICM_BASE_URL: 'https://develop.icm.intershop.de' NGINX_ENTRYPOINT_QUIET_LOGS: ANYVALUE CACHE: 0 # CACHE_CLEARER: 0 # Set to 1 to enable cache clearer based on ICM webadapter statistics # LOG_ALL: 0 # SSL: 1 # SSL_MKCERT_OFF: 1 # SSR: 0 # DEBUG: 1 # PROMETHEUS: 1 # COMPRESSION: 0 # DEVICE_DETECTION: 0 # CACHING_IGNORE_PARAMS: | # params: OVERRIDE_IDENTITY_PROVIDERS: | .+: - path: /en/punchout type: Punchout - path: /de/punchout type: Punchout - path: /fr/punchout type: Punchout - path: /en/cobrowse type: CoBrowse - path: /de/cobrowse type: CoBrowse - path: /fr/cobrowse type: CoBrowse # MULTI_CHANNEL_SOURCE: env:///ASDF?type=application/yaml MULTI_CHANNEL: | .+: - baseHref: /en channel: inSPIRED-inTRONICS_Business-Site lang: en_US - baseHref: /de channel: inSPIRED-inTRONICS_Business-Site lang: de_DE - baseHref: /fr channel: inSPIRED-inTRONICS_Business-Site lang: fr_FR - baseHref: /b2c channel: inSPIRED-inTRONICS-Site theme: b2c # ADDITIONAL_HEADERS: | # headers: # - Content-Security-Policy: "default-src https://develop.icm.intershop.de 'self'; style-src 'unsafe-inline' 'self'; font-src data: 'self'; script-src secure.pay1.de 'self'; frame-src secure.pay1.de;" # - X-Frame-Options: 'SAMEORIGIN' # REDIS_URI: redis://redis:6379 # Logging to an External Device (see logging.md) # volumes: # - d:/pwa/logs:/var/log/ # Provide own SSL certificate files with SSL and SSL_MKCERT_OFF (see nginx-startup.md) # volumes: # - /fullchain.pem:/var/nginx/certs/cert.pem # - /privkey.pem:/var/nginx/certs/key.pem # Uncomment this if you want the containers CA to be available on your local machine # 1.) provide below adjusted volume mapping # 2.) download and install mkcert -> https://github.com/FiloSottile/mkcert # 3.) `export CAROOT=/home/your-user/ca-dir` # 4.) `mkcert -install` # # For more details have a look at https://github.com/FiloSottile/mkcert#installing-the-ca-on-other-systems # # hostname: 'your-local-host-name-with-fqdn' # volumes: # - /home/your-user/ca-dir:/root/.local/share/mkcert # # - add 127.0.0.1 mypwa.net to your hosts file and # - add DEPLOY_URL: 'http://mypwa.net:4222' to the pwa environment section # - uncomment the following lines # # cdn: # build: # context: . # args: # configuration: production # serviceWorker: 'false' # deployUrl: http://mypwa.net:4222 # ports: # - '4222:4200' # # # redis: # image: bitnami/redis # container_name: redis # environment: # - ALLOW_EMPTY_PASSWORD=yes