Skip to content

Commit

Permalink
Merge branch 'main' into imageprovider
Browse files Browse the repository at this point in the history
  • Loading branch information
austinlparker committed Mar 15, 2024
2 parents 5624d9d + b50be5d commit e716066
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 3 deletions.
1 change: 1 addition & 0 deletions .env
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@ FEATURE_FLAG_GRPC_SERVICE_ADDR=featureflagservice:${FEATURE_FLAG_GRPC_SERVICE_PO

# flagd
FLAGD_HOST=flagd
FLAGD_PORT=8013

# Frontend
FRONTEND_PORT=8080
Expand Down
2 changes: 0 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,6 @@ start:
@echo "Go to http://localhost:8080/jaeger/ui for the Jaeger UI."
@echo "Go to http://localhost:8080/grafana/ for the Grafana UI."
@echo "Go to http://localhost:8080/loadgen/ for the Load Generator UI."
@echo "Go to http://localhost:8080/feature/ for the Feature Flag UI."

.PHONY: start-minimal
start-minimal:
Expand All @@ -153,7 +152,6 @@ start-odd:
@echo "Go to http://localhost:8080/jaeger/ui for the Jaeger UI."
@echo "Go to http://localhost:8080/grafana/ for the Grafana UI."
@echo "Go to http://localhost:8080/loadgen/ for the Load Generator UI."
@echo "Go to http://localhost:8080/feature/ for the Feature Flag UI."
@echo "Go to http://localhost:11633/ for the Tracetest Web UI."

.PHONY: stop
Expand Down
22 changes: 21 additions & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ services:
environment:
- AD_SERVICE_PORT
- FLAGD_HOST
- FLAGD_PORT
- OTEL_EXPORTER_OTLP_ENDPOINT=http://${OTEL_COLLECTOR_HOST}:${OTEL_COLLECTOR_PORT_HTTP}
- OTEL_EXPORTER_OTLP_METRICS_TEMPORALITY_PREFERENCE
- OTEL_RESOURCE_ATTRIBUTES
Expand All @@ -71,6 +72,8 @@ services:
depends_on:
otelcol:
condition: service_started
flagd:
condition: service_started
logging: *logging

# Cart service
Expand All @@ -92,6 +95,7 @@ services:
environment:
- CART_SERVICE_PORT
- FLAGD_HOST
- FLAGD_PORT
- REDIS_ADDR
- OTEL_EXPORTER_OTLP_ENDPOINT
- OTEL_RESOURCE_ATTRIBUTES
Expand All @@ -102,6 +106,8 @@ services:
condition: service_started
otelcol:
condition: service_started
flagd:
condition: service_started
logging: *logging

# Checkout service
Expand All @@ -122,6 +128,7 @@ services:
- "${CHECKOUT_SERVICE_PORT}"
environment:
- FLAGD_HOST
- FLAGD_PORT
- CHECKOUT_SERVICE_PORT
- CART_SERVICE_ADDR
- CURRENCY_SERVICE_ADDR
Expand Down Expand Up @@ -151,6 +158,8 @@ services:
condition: service_started
kafka:
condition: service_healthy
flagd:
condition: service_started
logging: *logging

# Currency service
Expand Down Expand Up @@ -206,7 +215,7 @@ services:
logging: *logging

flagd:
image: ghcr.io/open-feature/flagd:latest
image: ghcr.io/open-feature/flagd:v0.9.0
container_name: flagd
command: [
"start",
Expand Down Expand Up @@ -423,13 +432,16 @@ services:
environment:
- PAYMENT_SERVICE_PORT
- FLAGD_HOST
- FLAGD_PORT
- OTEL_EXPORTER_OTLP_ENDPOINT
- OTEL_EXPORTER_OTLP_METRICS_TEMPORALITY_PREFERENCE
- OTEL_RESOURCE_ATTRIBUTES
- OTEL_SERVICE_NAME=paymentservice
depends_on:
otelcol:
condition: service_started
flagd:
condition: service_started
logging: *logging

# Product Catalog service
Expand All @@ -451,13 +463,16 @@ services:
environment:
- PRODUCT_CATALOG_SERVICE_PORT
- FLAGD_HOST
- FLAGD_PORT
- OTEL_EXPORTER_OTLP_ENDPOINT
- OTEL_EXPORTER_OTLP_METRICS_TEMPORALITY_PREFERENCE
- OTEL_RESOURCE_ATTRIBUTES
- OTEL_SERVICE_NAME=productcatalogservice
depends_on:
otelcol:
condition: service_started
flagd:
condition: service_started
logging: *logging

# Quote service
Expand Down Expand Up @@ -508,6 +523,7 @@ services:
- RECOMMENDATION_SERVICE_PORT
- PRODUCT_CATALOG_SERVICE_ADDR
- FLAGD_HOST
- FLAGD_PORT
- OTEL_PYTHON_LOG_CORRELATION=true
- OTEL_EXPORTER_OTLP_ENDPOINT
- OTEL_EXPORTER_OTLP_METRICS_TEMPORALITY_PREFERENCE
Expand All @@ -519,6 +535,8 @@ services:
condition: service_started
otelcol:
condition: service_started
flagd:
condition: service_started
logging: *logging

# Shipping service
Expand Down Expand Up @@ -793,6 +811,8 @@ services:
condition: service_started
frauddetectionservice:
condition: service_started
flagd:
condition: service_started

tracetest-server:
image: ${TRACETEST_IMAGE}
Expand Down

0 comments on commit e716066

Please sign in to comment.