@@ -276,7 +276,7 @@ services:
276
276
- CHECKOUT_SERVICE_ADDR
277
277
- CURRENCY_ADDR
278
278
- PRODUCT_CATALOG_SERVICE_ADDR
279
- - RECOMMENDATION_SERVICE_ADDR
279
+ - RECOMMENDATION_ADDR
280
280
- SHIPPING_ADDR
281
281
- OTEL_EXPORTER_OTLP_ENDPOINT
282
282
- OTEL_RESOURCE_ATTRIBUTES=${OTEL_RESOURCE_ATTRIBUTES}
@@ -301,7 +301,7 @@ services:
301
301
condition : service_started
302
302
quote :
303
303
condition : service_started
304
- recommendationservice :
304
+ recommendation :
305
305
condition : service_started
306
306
shipping :
307
307
condition : service_started
@@ -517,31 +517,31 @@ services:
517
517
logging : *logging
518
518
519
519
# Recommendation service
520
- recommendationservice :
521
- image : ${IMAGE_NAME}:${DEMO_VERSION}-recommendationservice
520
+ recommendation :
521
+ image : ${IMAGE_NAME}:${DEMO_VERSION}-recommendation
522
522
container_name : recommendation-service
523
523
build :
524
524
context : ./
525
- dockerfile : ${RECOMMENDATION_SERVICE_DOCKERFILE }
525
+ dockerfile : ${RECOMMENDATION_DOCKERFILE }
526
526
cache_from :
527
- - ${IMAGE_NAME}:${IMAGE_VERSION}-recommendationservice
527
+ - ${IMAGE_NAME}:${IMAGE_VERSION}-recommendation
528
528
deploy :
529
529
resources :
530
530
limits :
531
531
memory : 500M # This is high to enable supporting the recommendationCache feature flag use case
532
532
restart : unless-stopped
533
533
ports :
534
- - " ${RECOMMENDATION_SERVICE_PORT }"
534
+ - " ${RECOMMENDATION_PORT }"
535
535
environment :
536
- - RECOMMENDATION_SERVICE_PORT
536
+ - RECOMMENDATION_PORT
537
537
- PRODUCT_CATALOG_SERVICE_ADDR
538
538
- FLAGD_HOST
539
539
- FLAGD_PORT
540
540
- OTEL_PYTHON_LOG_CORRELATION=true
541
541
- OTEL_EXPORTER_OTLP_ENDPOINT
542
542
- OTEL_EXPORTER_OTLP_METRICS_TEMPORALITY_PREFERENCE
543
543
- OTEL_RESOURCE_ATTRIBUTES
544
- - OTEL_SERVICE_NAME=recommendationservice
544
+ - OTEL_SERVICE_NAME=recommendation
545
545
- PROTOCOL_BUFFERS_PYTHON_IMPLEMENTATION=python
546
546
depends_on :
547
547
productcatalogservice :
0 commit comments