-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
602 lines (557 loc) · 19.4 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
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
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
x-default-logging: &logging
driver: loki
options:
loki-url: 'http://localhost:3100/api/prom/push'
mode: non-blocking
max-buffer-size: 4m
loki-retries: 2
loki-max-backoff: 800ms
loki-timeout: 1s
services:
prometheus:
image: prom/prometheus:v3.0.0-beta.0@sha256:064b379ac7f9d34c5b9b6cdd8c68a5706603270c0594bdefed67cd85c3b290be
restart: always # To re-read the configuration file
user: "1000:1000"
ports:
- 81:9090
volumes:
- ./prometheus/rules:/etc/prometheus/rules
- ./prometheus/prometheus.yml:/etc/prometheus/prometheus.yml
- ./prometheus/storage:/prometheus
command:
- --config.file=/etc/prometheus/prometheus.yml
- --web.enable-admin-api
- --web.enable-lifecycle
- --storage.tsdb.retention.time=2d
- --web.enable-remote-write-receiver
- --enable-feature=otlp-write-receiver,created-timestamp-zero-ingestion,native-histograms,promql-experimental-functions
logging: *logging
depends_on:
- loki
grafana:
image: grafana/grafana:11.4.0@sha256:d8ea37798ccc41061a62ab080f2676dda6bf7815558499f901bdb0f533a456fb
user: "1000:1000"
ports:
- 82:3000
environment:
- GF_AUTH_ANONYMOUS_ENABLED=true
- GF_AUTH_ANONYMOUS_ORG_ROLE=Admin
- GF_AUTH_DISABLE_LOGIN_FORM=true
volumes:
- ./grafana/provisioning:/etc/grafana/provisioning
logging: *logging
depends_on:
- loki
alertmanager:
image: prom/alertmanager:v0.27.0@sha256:e13b6ed5cb929eeaee733479dce55e10eb3bc2e9c4586c705a4e8da41e5eacf5
ports:
- 83:9093
command:
- --config.file=/etc/alertmanager/alertmanager.yml
volumes:
- ./alertmanager/alertmanager.yml:/etc/alertmanager/alertmanager.yml
logging: *logging
depends_on:
- loki
node_exporter:
privileged: true
image: prom/node-exporter:v1.8.2@sha256:4032c6d5bfd752342c3e631c2f1de93ba6b86c41db6b167b9a35372c139e7706
ports:
- "9100:9100"
logging: *logging
depends_on:
- loki
blackbox_exporter:
image: prom/blackbox-exporter:v0.25.0@sha256:b04a9fef4fa086a02fc7fcd8dcdbc4b7b35cc30cdee860fdc6a19dd8b208d63e
logging: *logging
depends_on:
- loki
loki:
image: grafana/loki:3.3.2@sha256:8af2de1abbdd7aa92b27c9bcc96f0f4140c9096b507c77921ffddf1c6ad6c48f
command:
- --config.file=/etc/loki/config.yaml
volumes:
- ./loki/config.yaml:/etc/loki/config.yaml
ports:
- "3100:3100" # loki needs to be exposed so it receives logs
logging: *logging
otel-collector:
image: otel/opentelemetry-collector-contrib:0.116.1@sha256:d0ebf65280da2e1b1491d1b93648281afd353d4b9ea19160090303cec9a233bd
restart: always # To re-read the configuration file
command: ["--config=/etc/otel-collector-config.yaml"]
volumes:
- ./opentelemetry-collector/config.yaml:/etc/otel-collector-config.yaml
logging: *logging
depends_on:
- loki
otel-collector-hostmetrics:
image: otel/opentelemetry-collector-contrib:0.116.1@sha256:d0ebf65280da2e1b1491d1b93648281afd353d4b9ea19160090303cec9a233bd
restart: always # To re-read the configuration file
command: ["--config=/etc/otel-collector-config.yaml"]
volumes:
- ./opentelemetry-collector/hostmetrics.yaml:/etc/otel-collector-config.yaml
logging: *logging
depends_on:
- loki
################
#
# OTEL-DEMO
#
################
accountingservice:
image: otel/demo:1.12.0-accountingservice@sha256:6d051840bb29d727d241d3b332f72a7023fa851c7a5075ba53286d0e80cfab33
container_name: accounting-service
restart: unless-stopped
environment:
- KAFKA_SERVICE_ADDR=kafka:9092
- OTEL_EXPORTER_OTLP_ENDPOINT=http://otel-collector:4317
- OTEL_EXPORTER_OTLP_METRICS_TEMPORALITY_PREFERENCE=cumulative
- OTEL_RESOURCE_ATTRIBUTES=service.namespace=opentelemetry-demo
- OTEL_SERVICE_NAME=accountingservice
depends_on:
otel-collector:
condition: service_started
kafka:
condition: service_healthy
loki:
condition: service_started
logging: *logging
kafka:
image: otel/demo:1.12.0-kafka@sha256:071a788162e84bbb7a614aaf941824a44df691be6263a26bd539bcc35d5d2dd7
container_name: kafka
restart: unless-stopped
environment:
- KAFKA_ADVERTISED_LISTENERS=PLAINTEXT://kafka:9092
- OTEL_EXPORTER_OTLP_ENDPOINT=http://otel-collector:4317
- OTEL_EXPORTER_OTLP_METRICS_TEMPORALITY_PREFERENCE=cumulative
- OTEL_RESOURCE_ATTRIBUTES=service.namespace=opentelemetry-demo
- OTEL_SERVICE_NAME=kafka
- KAFKA_HEAP_OPTS=-Xmx400m -Xms400m
healthcheck:
test: nc -z kafka 9092
start_period: 10s
interval: 5s
timeout: 10s
retries: 10
logging: *logging
depends_on:
loki:
condition: service_started
# AdService
adservice:
image: otel/demo:1.12.0-adservice@sha256:a59e5eead495be5c2e559020d856e707e91856ddcbe3dba94a3333d390f8f104
container_name: ad-service
restart: unless-stopped
environment:
- AD_SERVICE_PORT=9555
- FLAGD_HOST=flagd
- FLAGD_PORT=8013
- OTEL_EXPORTER_OTLP_ENDPOINT=http://otel-collector:4318
- OTEL_EXPORTER_OTLP_METRICS_TEMPORALITY_PREFERENCE=cumulative
- OTEL_EXPORTER_OTLP_METRICS_PROTOCOL=http/protobuf
- OTEL_EXPORTER_OTLP_METRICS_ENDPOINT=http://otel-collector:4318
- OTEL_RESOURCE_ATTRIBUTES=service.namespace=opentelemetry-demo
- OTEL_LOGS_EXPORTER=otlp
- OTEL_SERVICE_NAME=adservice
depends_on:
otel-collector:
condition: service_started
flagd:
condition: service_started
loki:
condition: service_started
logging: *logging
# Cart service
cartservice:
image: otel/demo:1.12.0-cartservice@sha256:89730afa0b5d7f48de4db32b038b5228ce77a8914fe6156f09b944efb0bacf45
container_name: cart-service
restart: unless-stopped
environment:
- CART_SERVICE_PORT=7070
- FLAGD_HOST=flagd
- FLAGD_PORT=8013
- VALKEY_ADDR=valkey-cart:6379
- OTEL_EXPORTER_OTLP_ENDPOINT=http://otel-collector:4317
- OTEL_RESOURCE_ATTRIBUTES=service.namespace=opentelemetry-demo
- OTEL_SERVICE_NAME=cartservice
- ASPNETCORE_URLS=http://*:7070
depends_on:
valkey-cart:
condition: service_started
otel-collector:
condition: service_started
flagd:
condition: service_started
loki:
condition: service_started
logging: *logging
# Checkout service
checkoutservice:
image: otel/demo:1.12.0-checkoutservice@sha256:380eccdc29e955eaa230ce4a702f3750d8ae398ddd4ea63320eba196f96da98b
container_name: checkout-service
restart: unless-stopped
environment:
- FLAGD_HOST=flagd
- FLAGD_PORT=8013
- CHECKOUT_SERVICE_PORT=5050
- CART_SERVICE_ADDR=cartservice:7070
- CURRENCY_SERVICE_ADDR=currencyservice:7001
- EMAIL_SERVICE_ADDR=http://emailservice:6060
- PAYMENT_SERVICE_ADDR=paymentservice:50051
- PRODUCT_CATALOG_SERVICE_ADDR=productcatalogservice:3550
- SHIPPING_SERVICE_ADDR=shippingservice:50050
- KAFKA_SERVICE_ADDR=kafka:9092
- OTEL_EXPORTER_OTLP_ENDPOINT=http://otel-collector:4317
- OTEL_EXPORTER_OTLP_METRICS_TEMPORALITY_PREFERENCE=cumulative
- OTEL_RESOURCE_ATTRIBUTES=service.namespace=opentelemetry-demo
- OTEL_SERVICE_NAME=checkoutservice
depends_on:
cartservice:
condition: service_started
currencyservice:
condition: service_started
emailservice:
condition: service_started
paymentservice:
condition: service_started
productcatalogservice:
condition: service_started
shippingservice:
condition: service_started
otel-collector:
condition: service_started
kafka:
condition: service_healthy
flagd:
condition: service_started
loki:
condition: service_started
logging: *logging
# Currency service
currencyservice:
image: otel/demo:1.12.0-currencyservice@sha256:db69fdf22ec59b2191ece2d00796eaca93639dce65d5de076b950b673bcffeaf
container_name: currency-service
restart: unless-stopped
environment:
- CURRENCY_SERVICE_PORT=7001
- VERSION=1.11.1
- OTEL_EXPORTER_OTLP_ENDPOINT=http://otel-collector:4317
- OTEL_RESOURCE_ATTRIBUTES=service.namespace=opentelemetry-demo,service.name=currencyservice # The C++ SDK does not support OTEL_SERVICE_NAME
depends_on:
otel-collector:
condition: service_started
loki:
condition: service_started
logging: *logging
# Email service
emailservice:
image: otel/demo:1.12.0-emailservice@sha256:a1f5cebb524000a5b41282e5e7ffad86bfe0b5bd376e6c56ca626a8fa91b4e3a
container_name: email-service
restart: unless-stopped
environment:
- APP_ENV=production
- EMAIL_SERVICE_PORT=6060
- OTEL_EXPORTER_OTLP_TRACES_ENDPOINT=http://otel-collector:4317/v1/traces
- OTEL_RESOURCE_ATTRIBUTES=service.namespace=opentelemetry-demo
- OTEL_SERVICE_NAME=emailservice
depends_on:
otel-collector:
condition: service_started
loki:
condition: service_started
logging: *logging
# Fraud Detection service
frauddetectionservice:
image: otel/demo:1.12.0-frauddetectionservice@sha256:77cefdab4d5c9fe6d11da303ce533b615e4890d4015a26d9ea24ac7c704a44d6
container_name: frauddetection-service
restart: unless-stopped
environment:
- FLAGD_HOST=flagd
- FLAGD_PORT=8013
- KAFKA_SERVICE_ADDR=kafka:9092
- OTEL_EXPORTER_OTLP_ENDPOINT=http://otel-collector:4317
- OTEL_EXPORTER_OTLP_METRICS_TEMPORALITY_PREFERENCE=cumulative
- OTEL_INSTRUMENTATION_KAFKA_EXPERIMENTAL_SPAN_ATTRIBUTES=true
- OTEL_INSTRUMENTATION_MESSAGING_EXPERIMENTAL_RECEIVE_TELEMETRY_ENABLED=true
- OTEL_RESOURCE_ATTRIBUTES=service.namespace=opentelemetry-demo
- OTEL_SERVICE_NAME=frauddetectionservice
depends_on:
otel-collector:
condition: service_started
kafka:
condition: service_healthy
loki:
condition: service_started
logging: *logging
# Frontend
frontend:
image: otel/demo:1.12.0-frontend@sha256:8b348f00ca4c9687e3bf4ac43cad18441943148090055dd035ddfc6892925cb8
container_name: frontend
restart: unless-stopped
environment:
- PORT=8080
- FRONTEND_ADDR=frontend:8080
- AD_SERVICE_ADDR=adservice:9555
- CART_SERVICE_ADDR=cartservice:7070
- CHECKOUT_SERVICE_ADDR=checkoutservice:5050
- CURRENCY_SERVICE_ADDR=currencyservice:7001
- PRODUCT_CATALOG_SERVICE_ADDR=productcatalogservice:3550
- RECOMMENDATION_SERVICE_ADDR=recommendationservice:9001
- SHIPPING_SERVICE_ADDR=shippingservice:50050
- OTEL_EXPORTER_OTLP_ENDPOINT=http://otel-collector:4317
- OTEL_RESOURCE_ATTRIBUTES=service.namespace=opentelemetry-demo
- ENV_PLATFORM=local
- OTEL_SERVICE_NAME=frontend
- PUBLIC_OTEL_EXPORTER_OTLP_TRACES_ENDPOINT=http://otel-collector:4318/otlp-http/v1/traces
- OTEL_EXPORTER_OTLP_METRICS_TEMPORALITY_PREFERENCE=cumulative
- WEB_OTEL_SERVICE_NAME=frontend-web
- OTEL_COLLECTOR_HOST=otel-collector
- FLAGD_HOST=flagd
- FLAGD_PORT=8013
depends_on:
adservice:
condition: service_started
cartservice:
condition: service_started
checkoutservice:
condition: service_started
currencyservice:
condition: service_started
productcatalogservice:
condition: service_started
quoteservice:
condition: service_started
recommendationservice:
condition: service_started
shippingservice:
condition: service_started
otel-collector:
condition: service_started
imageprovider:
condition: service_started
flagd:
condition: service_started
loki:
condition: service_started
logging: *logging
# Frontend Proxy (Envoy)
frontendproxy:
image: otel/demo:1.12.0-frontendproxy@sha256:9fdec1be03e4695aec8c9eff3a2b3d6b854c1e25aa5677a373a63b17f42db743
container_name: frontend-proxy
restart: unless-stopped
ports:
- 84:8080
environment:
- FRONTEND_PORT=8080
- FRONTEND_HOST=frontend:8080
- LOCUST_WEB_HOST=loadgenerator
- LOCUST_WEB_PORT=8089
- GRAFANA_SERVICE_PORT=3000
- GRAFANA_SERVICE_HOST=grafana
- JAEGER_SERVICE_PORT=16686
- JAEGER_SERVICE_HOST=jaeger
- OTEL_COLLECTOR_HOST=otel-collector
- IMAGE_PROVIDER_HOST=imageprovider
- IMAGE_PROVIDER_PORT=8081
- OTEL_COLLECTOR_PORT_GRPC=4317
- OTEL_COLLECTOR_PORT_HTTP=4318
- OTEL_RESOURCE_ATTRIBUTES=service.namespace=opentelemetry-demo
- ENVOY_PORT=8080
- FLAGD_HOST=flagd
- FLAGD_PORT=8013
depends_on:
frontend:
condition: service_started
loadgenerator:
condition: service_started
# jaeger:
# condition: service_started
grafana:
condition: service_started
loki:
condition: service_started
logging: *logging
# Imageprovider
imageprovider:
image: otel/demo:1.12.0-imageprovider@sha256:4e322858fe56df702f5a35f18728fb47d176be3e752f380c9ffc456512a64565
container_name: imageprovider
restart: unless-stopped
environment:
- IMAGE_PROVIDER_PORT=8081
- OTEL_COLLECTOR_HOST=otel-collector
- OTEL_COLLECTOR_PORT_GRPC=4317
- OTEL_SERVICE_NAME=imageprovider
- OTEL_RESOURCE_ATTRIBUTES=service.namespace=opentelemetry-demo
depends_on:
otel-collector:
condition: service_started
loki:
condition: service_started
logging: *logging
# Load Generator
loadgenerator:
image: otel/demo:1.12.0-loadgenerator@sha256:85c9935ff31b7ab575903fbd0b56a3161ec13e508966df25dc68fcfe7af5ec98
container_name: load-generator
restart: unless-stopped
environment:
- LOCUST_WEB_PORT=8089
- LOCUST_USERS=10
- LOCUST_HOST=loadgenerator
- LOCUST_HEADLESS=false
- LOCUST_AUTOSTART=true
- LOCUST_BROWSER_TRAFFIC_ENABLED=true
- OTEL_EXPORTER_OTLP_ENDPOINT=http://otel-collector:4317
- OTEL_EXPORTER_OTLP_METRICS_TEMPORALITY_PREFERENCE=cumulative
- OTEL_RESOURCE_ATTRIBUTES=service.namespace=opentelemetry-demo
- OTEL_SERVICE_NAME=loadgenerator
- PROTOCOL_BUFFERS_PYTHON_IMPLEMENTATION=python
- LOCUST_WEB_HOST=0.0.0.0
- FLAGD_HOST=flagd
- FLAGD_PORT=8013
depends_on:
frontend:
condition: service_started
flagd:
condition: service_started
loki:
condition: service_started
logging: *logging
# Payment service
paymentservice:
image: otel/demo:1.12.0-paymentservice@sha256:b0f13eef3abf4025772b09b793621acee8f05138f55d00a38aaab27b1e0d44c4
container_name: payment-service
restart: unless-stopped
environment:
- PAYMENT_SERVICE_PORT=50051
- FLAGD_HOST=flagd
- FLAGD_PORT=8013
- OTEL_EXPORTER_OTLP_ENDPOINT=http://otel-collector:4317
- OTEL_EXPORTER_OTLP_METRICS_TEMPORALITY_PREFERENCE=cumulative
- OTEL_RESOURCE_ATTRIBUTES=service.namespace=opentelemetry-demo
- OTEL_SERVICE_NAME=paymentservice
depends_on:
otel-collector:
condition: service_started
flagd:
condition: service_started
loki:
condition: service_started
logging: *logging
# Product Catalog service
productcatalogservice:
image: otel/demo:1.12.0-productcatalogservice@sha256:008b9b662289b3ab498358e38b28e6bdaf706bfbe601041dfc7962bdd1d222c3
container_name: product-catalog-service
restart: unless-stopped
environment:
- PRODUCT_CATALOG_SERVICE_PORT=3550
- FLAGD_HOST=flagd
- FLAGD_PORT=8013
- OTEL_EXPORTER_OTLP_ENDPOINT=http://otel-collector:4317
- OTEL_EXPORTER_OTLP_METRICS_TEMPORALITY_PREFERENCE=cumulative
- OTEL_RESOURCE_ATTRIBUTES=service.namespace=opentelemetry-demo
- OTEL_SERVICE_NAME=productcatalogservice
depends_on:
otel-collector:
condition: service_started
flagd:
condition: service_started
loki:
condition: service_started
logging: *logging
# Quote service
quoteservice:
image: otel/demo:1.12.0-quoteservice@sha256:87eb325d306f972722dae536b45857cb5a5dcde0781f093e882be0e5b8313d9e
container_name: quote-service
restart: unless-stopped
environment:
- OTEL_EXPORTER_OTLP_ENDPOINT=http://otel-collector:4317
- OTEL_PHP_AUTOLOAD_ENABLED=true
- QUOTE_SERVICE_PORT=8090
- OTEL_RESOURCE_ATTRIBUTES=service.namespace=opentelemetry-demo
- OTEL_SERVICE_NAME=quoteservice
- OTEL_PHP_INTERNAL_METRICS_ENABLED=true
depends_on:
otel-collector:
condition: service_started
loki:
condition: service_started
logging: *logging
# Recommendation service
recommendationservice:
image: otel/demo:1.12.0-recommendationservice@sha256:b294a4278407716451b43758d89a952941f750ba2972d4a99d041c918233c58b
container_name: recommendation-service
restart: unless-stopped
environment:
- RECOMMENDATION_SERVICE_PORT=9001
- PRODUCT_CATALOG_SERVICE_ADDR=productcatalogservice:3550
- FLAGD_HOST=flagd
- FLAGD_PORT=8013
- OTEL_PYTHON_LOG_CORRELATION=true
- OTEL_EXPORTER_OTLP_ENDPOINT=http://otel-collector:4317
- OTEL_EXPORTER_OTLP_METRICS_TEMPORALITY_PREFERENCE=cumulative
- OTEL_RESOURCE_ATTRIBUTES=service.namespace=opentelemetry-demo
- OTEL_SERVICE_NAME=recommendationservice
- PROTOCOL_BUFFERS_PYTHON_IMPLEMENTATION=python
depends_on:
productcatalogservice:
condition: service_started
otel-collector:
condition: service_started
flagd:
condition: service_started
loki:
condition: service_started
logging: *logging
# Shipping service
shippingservice:
image: otel/demo:1.12.0-shippingservice@sha256:a3ca4c02a5df456a8cfcf80f9bb5400ccb47c0d2f478e3a0e8472ce0753fccf0
container_name: shipping-service
restart: unless-stopped
environment:
- SHIPPING_SERVICE_PORT=50050
- QUOTE_SERVICE_ADDR=http://quoteservice:8090
- OTEL_EXPORTER_OTLP_ENDPOINT=http://otel-collector:4317
- OTEL_RESOURCE_ATTRIBUTES=service.namespace=opentelemetry-demo
- OTEL_SERVICE_NAME=shippingservice
depends_on:
otel-collector:
condition: service_started
loki:
condition: service_started
logging: *logging
# ******************
# Dependent Services
# ******************
# Flagd, feature flagging service
flagd:
image: ghcr.io/open-feature/flagd:v0.11.5@sha256:17cc8caf847d8f39e9a7209f05e718286ebbe4363a97f4c80bbf5b15be581d1d
container_name: flagd
restart: unless-stopped
environment:
- FLAGD_OTEL_COLLECTOR_URI=otel-collector:4317
- FLAGD_METRICS_EXPORTER=otel
- OTEL_RESOURCE_ATTRIBUTES=service.namespace=opentelemetry-demo
- OTEL_SERVICE_NAME=flagd
command: [
"start",
"--uri",
"file:./etc/flagd/flagd.json"
]
volumes:
- ./flagd/flagd.json:/etc/flagd/flagd.json
depends_on:
otel-collector:
condition: service_started
loki:
condition: service_started
logging: *logging
# Valkey used by Cart service
valkey-cart:
image: valkey/valkey:8.0-alpine@sha256:1f6b5c4df112ec869c17228911c6c33019b51756820a4432d423841eaf3c2fc7
container_name: valkey-cart
user: valkey
restart: unless-stopped
logging: *logging
depends_on:
loki:
condition: service_started