Skip to content

Commit

Permalink
Fix flagd ui name (#1773)
Browse files Browse the repository at this point in the history
  • Loading branch information
julianocosta89 authored Nov 9, 2024
1 parent 09ab6cc commit 2fcba7c
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 12 deletions.
6 changes: 3 additions & 3 deletions .env
Original file line number Diff line number Diff line change
Expand Up @@ -129,12 +129,12 @@ SHIPPING_SERVICE_DOCKERFILE=./src/shippingservice/Dockerfile
# ******************
# Dependent Services
# ******************
# flagd
# Flagd
FLAGD_HOST=flagd
FLAGD_PORT=8013

#flagd-ui
FLAGD_UI_HOST=flagd-ui
# Flagd UI
FLAGD_UI_HOST=flagdui
FLAGD_UI_PORT=4000
FLAGD_UI_DOCKERFILE=./src/flagd-ui/Dockerfile

Expand Down
12 changes: 6 additions & 6 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -357,7 +357,7 @@ services:
condition: service_started
grafana:
condition: service_started
flagd-ui:
flagdui:
condition: service_started

# Imageprovider
Expand Down Expand Up @@ -607,10 +607,10 @@ services:
logging:
*logging

# Flagd-ui, UI for configuring the feature flagging service
flagd-ui:
image: ${IMAGE_NAME}:${DEMO_VERSION}-flagd-ui
container_name: flagd-ui
# Flagd UI for configuring the feature flag service
flagdui:
image: ${IMAGE_NAME}:${DEMO_VERSION}-flagdui
container_name: flagdui
build:
context: ./
dockerfile: ${FLAGD_UI_DOCKERFILE}
Expand All @@ -623,7 +623,7 @@ services:
- OTEL_EXPORTER_OTLP_ENDPOINT=http://${OTEL_COLLECTOR_HOST}:${OTEL_COLLECTOR_PORT_HTTP}
- OTEL_EXPORTER_OTLP_METRICS_TEMPORALITY_PREFERENCE
- OTEL_RESOURCE_ATTRIBUTES
- OTEL_SERVICE_NAME=flagd-ui
- OTEL_SERVICE_NAME=flagdui
ports:
- "${FLAGD_UI_PORT}"
depends_on:
Expand Down
6 changes: 3 additions & 3 deletions src/frontendproxy/envoy.tmpl.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ static_resources:
- match: { prefix: "/flagservice/" }
route: { cluster: flagservice, prefix_rewrite: "/", timeout: 0s }
- match: { prefix: "/feature" }
route: { cluster: flagd-ui }
route: { cluster: flagdui }
- match: { prefix: "/" }
route: { cluster: frontend }
http_filters:
Expand Down Expand Up @@ -132,11 +132,11 @@ static_resources:
socket_address:
address: ${FLAGD_HOST}
port_value: ${FLAGD_PORT}
- name: flagd-ui
- name: flagdui
type: STRICT_DNS
lb_policy: ROUND_ROBIN
load_assignment:
cluster_name: flagd-ui
cluster_name: flagdui
endpoints:
- lb_endpoints:
- endpoint:
Expand Down

0 comments on commit 2fcba7c

Please sign in to comment.