Skip to content

Commit 22913b9

Browse files
Jaegar ui added
1 parent 52ab6f4 commit 22913b9

File tree

1 file changed

+17
-2
lines changed

1 file changed

+17
-2
lines changed

docker-compose.yml

Lines changed: 17 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,8 @@ services:
1212
depends_on:
1313
db:
1414
condition: service_healthy
15-
15+
jaeger:
16+
condition: service_started
1617
volumes:
1718
- ./CentralizedLoggingApi/logs:/app/logs
1819

@@ -29,7 +30,8 @@ services:
2930
depends_on:
3031
db:
3132
condition: service_healthy
32-
33+
jaeger:
34+
condition: service_started
3335
volumes:
3436
- ./UserManagementApi/logs:/app/logs
3537

@@ -51,6 +53,8 @@ services:
5153
condition: service_started
5254
userapi:
5355
condition: service_started
56+
jaeger:
57+
condition: service_started
5458

5559
db:
5660
image: mcr.microsoft.com/mssql/server:2022-latest
@@ -69,5 +73,16 @@ services:
6973
volumes:
7074
- sql_data:/var/opt/mssql
7175

76+
# Jaeger (all-in-one: UI + collector + agent + storage)
77+
jaeger:
78+
image: jaegertracing/all-in-one:1.57
79+
container_name: jaeger
80+
ports:
81+
- "16686:16686" # Jaeger UI
82+
- "4317:4317" # OTLP gRPC (traces)
83+
- "4318:4318" # OTLP HTTP (traces)
84+
environment:
85+
- LOG_LEVEL=info
86+
7287
volumes:
7388
sql_data:

0 commit comments

Comments
 (0)