-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yaml
48 lines (48 loc) · 1.15 KB
/
docker-compose.yaml
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
version: '2'
services:
pgsql:
image: postgres:15-alpine
ports:
- 5432:5432
environment:
- POSTGRES_DB=test
- POSTGRES_USER=postgres
- POSTGRES_PASSWORD=$POSTGRES_PASSWORD
jaeger:
image: jaegertracing/all-in-one:1.38
ports:
- 16686:16686 # web
- 14268:14268
prometheus:
image: prom/prometheus
ports:
- 9090:9090
volumes:
- ./env/prometheus.yaml:/etc/prometheus/prometheus.yml
- ./env/alerts.yaml:/etc/prometheus/alerts.yml
extra_hosts:
- host.docker.internal:host-gateway
grafana:
image: grafana/grafana-oss
ports:
- 3000:3000
volumes:
- ./data/grafana:/var/lib/grafana
links:
- prometheus
zookeeper:
image: 'bitnami/zookeeper:latest'
ports:
- '2181:2181'
environment:
- ALLOW_ANONYMOUS_LOGIN=yes
kafka:
image: 'bitnami/kafka:latest'
ports:
- '9092:9092'
environment:
- KAFKA_BROKER_ID=1
- KAFKA_CFG_LISTENERS=PLAINTEXT://:9092
- KAFKA_CFG_ADVERTISED_LISTENERS=PLAINTEXT://127.0.0.1:9092
- KAFKA_CFG_ZOOKEEPER_CONNECT=zookeeper:2181
- ALLOW_PLAINTEXT_LISTENER=yes