-
Notifications
You must be signed in to change notification settings - Fork 130
/
deploy.aop-consultant-b2c.yml
250 lines (232 loc) · 7.75 KB
/
deploy.aop-consultant-b2c.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
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
version: "0.1"
x-real-ip: &real-ip
real-ip:
from:
- 10.0.0.0/8 # AWS VPC network
- 103.21.244.0/22 # Cloudflare
- 103.22.200.0/22 # Cloudflare
- 103.31.4.0/22 # Cloudflare
- 104.16.0.0/12 # Cloudflare
- 108.162.192.0/18 # Cloudflare
- 131.0.72.0/22 # Cloudflare
- 141.101.64.0/18 # Cloudflare
- 162.158.0.0/15 # Cloudflare
- 172.64.0.0/13 # Cloudflare
- 173.245.48.0/20 # Cloudflare
- 188.114.96.0/20 # Cloudflare
- 190.93.240.0/20 # Cloudflare
- 197.234.240.0/22 # Cloudflare
- 198.41.128.0/17 # Cloudflare
- 2400:cb00::/32 # Cloudflare
- 2606:4700::/32 # Cloudflare
- 2803:f800::/32 # Cloudflare
- 2405:b500::/32 # Cloudflare
- 2405:8100::/32 # Cloudflare
- 2c0f:f248::/32 # Cloudflare
- 2a06:98c0::/29 # Cloudflare
x-frontend-auth: &frontend-auth
<<: *real-ip
auth:
engine: basic
users:
- username: cloud # must be changed
password: cloud # must be changed
exclude:
- '${ALLOWED_IP}' # AWS gateway
- 185.60.20.0/24 # PayOne
namespace: spryker-cloud
tag: '1.0'
environment: docker.demo
image:
tag: spryker/php:8.2
environment:
SPRYKER_DEFAULT_STORE: "DE"
SPRYKER_ACTIVE_STORES: "DE,AT"
SPRYKER_HOOK_BEFORE_DEPLOY: "vendor/bin/install -r EU/pre-deploy.dynamic-store-off -vvv"
SPRYKER_HOOK_AFTER_DEPLOY: "true"
SPRYKER_HOOK_INSTALL: "vendor/bin/install -r EU/production.dynamic-store-off --no-ansi -vvv"
SPRYKER_HOOK_DESTRUCTIVE_INSTALL: "vendor/bin/install -r EU/destructive.dynamic-store-off --no-ansi -vvv"
SPRYKER_YVES_HOST_DE: backend-api.de.consultant-b2c.demo-spryker.com
SPRYKER_YVES_HOST_AT: backend-api.at.consultant-b2c.demo-spryker.com
SPRYKER_PUSH_NOTIFICATION_WEB_PUSH_PHP_VAPID_PUBLIC_KEY: 'BGqNWbv0hWM5CQ1-KwAfSQBMC6TMVFyrnh3vQp37oGCNvQ6eG_HyMjxBFJRWeCPTbzDoxcjhxLJS8Ck8r1G2oFw'
SPRYKER_PUSH_NOTIFICATION_WEB_PUSH_PHP_VAPID_PRIVATE_KEY: 'UK6DywwjKITPpRHBSY9TLPIXm6BPrHX40sseIoXT9c8'
SPRYKER_PUSH_NOTIFICATION_WEB_PUSH_PHP_VAPID_SUBJECT: 'https://spryker.com'
#AOP
SPRYKER_TENANT_IDENTIFIER: "AOP_Production_Consultant_b2c-DE"
SPRYKER_MESSAGE_BROKER_HTTP_CHANNEL_SENDER_BASE_URL: "https://publish.mb.spryker.com/"
SPRYKER_MESSAGE_BROKER_HTTP_CHANNEL_RECEIVER_BASE_URL: "https://consume.mb.spryker.com/"
SPRYKER_AOP_APPLICATION: '{
"APP_DOMAINS": [
"os.apps.aop.spryker.com",
"stripe.acp.spryker.com",
"*.bazaarvoice.com"
],
"APP_CATALOG_SCRIPT_URL": "https://app-catalog.atrs.spryker.com/loader"
}'
php:
enabled-extensions:
- blackfire
- newrelic
ini:
opcache.interned_strings_buffer: 32
node:
version: 18
npm: 9
composer:
mode: --no-dev
autoload: --classmap-authoritative
assets:
image: fholzer/nginx-brotli:v1.18.0
mode: production
compression:
brotli:
static: only
gzip:
static: true
level: 5
regions:
EU:
services:
database:
database: aop_consultant_b2c
username: spryker
password: secret
stores:
DE:
services:
broker:
namespace: de_queue
key_value_store:
namespace: 1
search:
namespace: de_search
session:
namespace: 2
AT:
services:
broker:
namespace: at_queue
key_value_store:
namespace: 3
search:
namespace: at_search
session:
namespace: 4
groups:
EU:
region: EU
applications:
Yves:
application: yves
endpoints:
date-time-configurator-example.consultant-b2c.demo-spryker.com:
entry-point: Configurator
www.de.consultant-b2c.demo-spryker.com:
store: DE
<<: *frontend-auth
services:
session:
namespace: 1
www.at.consultant-b2c.demo-spryker.com:
store: AT
<<: *frontend-auth
services:
session:
namespace: 2
Glue:
application: glue
endpoints:
glue.de.consultant-b2c.demo-spryker.com:
store: DE
glue.at.consultant-b2c.demo-spryker.com:
store: AT
boffice:
application: backoffice
endpoints:
backoffice.de.consultant-b2c.demo-spryker.com:
store: DE
<<: *frontend-auth
primal: true
services:
session:
namespace: 3
backoffice.at.consultant-b2c.demo-spryker.com:
store: AT
<<: *frontend-auth
services:
session:
namespace: 4
backgw:
application: backend-gateway
endpoints:
backend-gateway.de.consultant-b2c.demo-spryker.com:
store: DE
primal: true
backend-gateway.at.consultant-b2c.demo-spryker.com:
store: AT
primal: true
backapi:
application: zed
endpoints:
backend-api.de.consultant-b2c.demo-spryker.com:
store: DE
entry-point: BackendApi
backend-api.at.consultant-b2c.demo-spryker.com:
store: AT
entry-point: BackendApi
services:
database:
engine: mysql
version: mariadb-10.5
root:
username: "root"
password: "secret"
endpoints:
localhost:3306:
protocol: tcp
broker:
engine: rabbitmq
version: '3.9'
api:
username: "spryker"
password: "secret"
endpoints:
queue.consultant-b2c.demo-spryker.com:
localhost:5672:
protocol: tcp
session:
engine: redis
key_value_store:
engine: redis
endpoints:
localhost:16379:
protocol: tcp
search:
engine: elastic
version: '7.10'
endpoints:
localhost:9200:
protocol: tcp
scheduler:
engine: jenkins
csrf-protection-enabled: true
endpoints:
scheduler.consultant-b2c.demo-spryker.com:
mail_catcher:
engine: mailhog
endpoints:
mail.consultant-b2c.demo-spryker.com:
docker:
blackfire:
enabled: false
ssl:
enabled: true
redirect: true
debug:
enabled: false
xdebug:
enabled: false
testing:
store: DE
mount:
baked: