Skip to content

Commit 0d624d1

Browse files
committed
configure dev otel endpoint via .env
1 parent ee68a26 commit 0d624d1

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

hosting/docker/.env.example

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ TRIGGER_IMAGE_TAG=v4-beta
3838
APP_ORIGIN=http://localhost:8030
3939
LOGIN_ORIGIN=http://localhost:8030
4040
API_ORIGIN=http://localhost:8030
41+
DEV_OTEL_EXPORTER_OTLP_ENDPOINT=http://localhost:8030/otel
4142
# You may need to set this when testing locally or when using the combined setup
4243
# API_ORIGIN=http://webapp:3000
4344

hosting/docker/webapp/docker-compose.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ services:
4747
REDIS_PORT: 6379
4848
REDIS_TLS_DISABLED: true
4949
APP_LOG_LEVEL: info
50-
DEV_OTEL_EXPORTER_OTLP_ENDPOINT: http://localhost:8030/otel
50+
DEV_OTEL_EXPORTER_OTLP_ENDPOINT: ${DEV_OTEL_EXPORTER_OTLP_ENDPOINT:-http://localhost:8030/otel}
5151
DEPLOY_REGISTRY_HOST: ${DOCKER_REGISTRY_URL:-localhost:5000}
5252
OBJECT_STORE_BASE_URL: ${OBJECT_STORE_BASE_URL:-http://minio:9000}
5353
OBJECT_STORE_ACCESS_KEY_ID: ${OBJECT_STORE_ACCESS_KEY_ID}

0 commit comments

Comments
 (0)