-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcompose.yaml
More file actions
57 lines (51 loc) · 1.31 KB
/
compose.yaml
File metadata and controls
57 lines (51 loc) · 1.31 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
services:
postgres:
image: postgres:15
container_name: aetherguard-db
environment:
POSTGRES_USER: quarkus
POSTGRES_PASSWORD: quarkus
POSTGRES_DB: aetherguard
ports:
- "5432:5432"
volumes:
- postgres_data:/var/lib/postgresql/data
jaeger:
image: jaegertracing/all-in-one:latest
container_name: aetherguard-jaeger
environment:
- COLLECTOR_OTLP_ENABLED=true
ports:
- "16686:16686" # UI
- "4317:4317" # OTLP gRPC
- "4318:4318" # OTLP HTTP
grafana:
image: grafana/grafana:latest
container_name: aetherguard-grafana
ports:
- "3000:3000"
environment:
- GF_SECURITY_ADMIN_PASSWORD=admin
volumes:
- ./infra/grafana/provisioning:/etc/grafana/provisioning
depends_on:
- jaeger
flaky-service:
build:
context: ./infra/flaky-service
dockerfile: Dockerfile
container_name: aetherguard-flaky-service
ports:
- "8081:8081"
environment:
- OTEL_SERVICE_NAME=flaky-service
- OTEL_EXPORTER_OTLP_ENDPOINT=http://jaeger:4317
depends_on:
- jaeger
healthcheck:
test: [ "CMD", "python", "-c", "import urllib.request; urllib.request.urlopen('http://localhost:8081/health')" ]
interval: 30s
timeout: 3s
retries: 3
volumes:
postgres_data: