-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
51 lines (44 loc) · 1.2 KB
/
docker-compose.yml
File metadata and controls
51 lines (44 loc) · 1.2 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
services:
db:
image: postgres:16-alpine
environment:
POSTGRES_DB: kalsumed
POSTGRES_USER: kalsumed
POSTGRES_PASSWORD: kalsumed
ports: ["5432:5432"]
volumes: ["dbdata:/var/lib/postgresql/data"]
redis:
image: redis:7-alpine
ports: ["6379:6379"]
zookeeper:
image: bitnami/zookeeper:3.9
environment: { ALLOW_ANONYMOUS_LOGIN: "yes" }
ports: ["2181:2181"]
kafka:
image: bitnami/kafka:3.7
ports: ["9092:9092"]
environment:
KAFKA_BROKER_ID: 1
KAFKA_CFG_ZOOKEEPER_CONNECT: zookeeper:2181
KAFKA_CFG_LISTENERS: PLAINTEXT://:9092
KAFKA_CFG_ADVERTISED_LISTENERS: PLAINTEXT://localhost:9092
ALLOW_PLAINTEXT_LISTENER: "yes"
depends_on: [zookeeper]
prometheus:
image: prom/prometheus:latest
volumes:
- ./monitoring/prometheus.yml:/etc/prometheus/prometheus.yml:ro
ports: ["9090:9090"]
tempo:
image: grafana/tempo:latest
command: ["-config.file=/etc/tempo.yaml"]
volumes:
- ./monitoring/tempo.yaml:/etc/tempo.yaml:ro
ports:
- "4317:4317" # OTLP gRPC
- "3200:3200" # Tempo query
grafana:
image: grafana/grafana:latest
ports: ["3000:3000"]
volumes:
dbdata: {}