-
Notifications
You must be signed in to change notification settings - Fork 83
/
docker-compose.yml
134 lines (127 loc) · 3.45 KB
/
docker-compose.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
# export appropriate ICM_BASE_URL and use with
# docker compose up --build
version: '3'
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']
environment:
# ICM_BASE_URL:
LOGGING: 'true'
# LOG_ALL: 'false'
SOURCE_MAPS: 'true'
TRUST_ICM: 'true'
# PROXY_ICM: 'true'
# PROMETHEUS: 'true'
# MULTI_SITE_LOCALE_MAP: |
# en_US: /en
# de_DE: /de
# fr_FR: /fr
# FEATURES: |
# - compare
# - rating
# IDENTITY_PROVIDER: 'Auth0'
# IDENTITY_PROVIDERS: |
# Auth0:
# type: auth0
# domain: some-domain.auth0.com
# clientID: ASDF12345
# Punchout:
# type: PUNCHOUT
# CoBrowse:
# type: cobrowse
# Logging to an External Device (see logging.md)
# volumes:
# - d:/pwa/logs:/.pm2/logs/
# <CDN-Example>
# add 127.0.0.1 mypwa.net to your hosts file and
# uncomment the following lines
#
# DEPLOY_URL: 'http://mypwa.net:4222'
# cdn:
# build:
# context: .
# args:
# configuration: production
# serviceWorker: 'false'
# deployUrl: http://mypwa.net:4222
# ports:
# - '4222:4200'
#
# </CDN-Example>
# redis:
# image: bitnami/redis
# container_name: redis
# environment:
# - ALLOW_EMPTY_PASSWORD=yes
nginx:
image: intershophub/intershop-pwa-nginx
build: nginx
depends_on:
- pwa
ports:
- '4200:80'
# - '4200:443'
# - '9113:9113'
environment:
UPSTREAM_PWA: 'http://pwa:4200'
NGINX_ENTRYPOINT_QUIET_LOGS: ANYVALUE
CACHE: 0
# REDIS_URI: redis://redis:6379
# LOG_ALL: off
# SSL: 1
# SSR: 0
# DEBUG: 1
# PROMETHEUS: 1
# COMPRESSION: 0
# DEVICE_DETECTION: 0
# CACHING_IGNORE_PARAMS: |
# params:
# MULTI_CHANNEL_SOURCE: env:///ASDF?type=application/yaml
# BASIC_AUTH: 'developer:!InterShop00!'
# BASIC_AUTH_IP_WHITELIST: |
# - 1.2.3.4
# OVERRIDE_IDENTITY_PROVIDERS: |
# .+:
# - path: /en/punchout
# type: Punchout
# - path: /en/cobrowse
# type: CoBrowse
MULTI_CHANNEL: |
.+:
- baseHref: /en
channel: default
lang: en_US
- baseHref: /de
channel: default
lang: de_DE
- baseHref: /fr
channel: default
lang: fr_FR
- baseHref: /b2c
channel: default
theme: b2c
# ADDITIONAL_HEADERS: |
# headers:
# - X-Frame-Options: 'SAMEORIGIN'
# Logging to an External Device (see logging.md)
# volumes:
# - d:/pwa/logs:/var/log/
# 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