diff options
Diffstat (limited to 'development')
-rw-r--r-- | development/.env | 4 | ||||
-rw-r--r-- | development/docker-compose.yml | 19 |
2 files changed, 22 insertions, 1 deletions
diff --git a/development/.env b/development/.env index 2a2a73d..6cf5579 100644 --- a/development/.env +++ b/development/.env @@ -20,6 +20,10 @@ POSTGRES_VERSION=15rc1 MONGO_IMAGE=mongo MONGO_VERSION=latest +# tracing +COLLECTOR_HOST=jaeger +COLLECTOR_PORT=9411 + # preferences PREFERENCES_IMAGE_NAME=preferences PREFERENCES_IMAGE_TAG=latest diff --git a/development/docker-compose.yml b/development/docker-compose.yml index 1e7d282..10946d4 100644 --- a/development/docker-compose.yml +++ b/development/docker-compose.yml @@ -52,6 +52,8 @@ services: MONGO_PORT: ${HISTORY_MONGO_PORT} KEYCLOAK_URL: ${KEYCLOAK_URL} KEYCLOAK_REALM: ${KEYCLOAK_REALM} + COLLECTOR_HOST: ${COLLECTOR_HOST} + COLLECTOR_PORT: ${COLLECTOR_PORT} depends_on: - mongo-history mongo-preferences: @@ -73,5 +75,20 @@ services: MONGO_PORT: ${PREFERENCES_MONGO_PORT} KEYCLOAK_URL: ${KEYCLOAK_URL} KEYCLOAK_REALM: ${KEYCLOAK_REALM} + COLLECTOR_HOST: ${COLLECTOR_HOST} + COLLECTOR_PORT: ${COLLECTOR_PORT} depends_on: - - mongo-preferences
\ No newline at end of file + - mongo-preferences + jaeger: + image: jaegertracing/all-in-one:latest + container_name: jaeger + ports: + - 5775:5775/udp + - 6831:6831/udp + - 6832:6832/udp + - 5778:5778 + - 16686:16686 + - 14268:14268 + - 9411:9411 + environment: + COLLECTOR_ZIPKIN_HOST_PORT: 9411
\ No newline at end of file |