-
Notifications
You must be signed in to change notification settings - Fork 110
/
docker-compose-ZOOKEEPER.yml
67 lines (61 loc) · 1.98 KB
/
docker-compose-ZOOKEEPER.yml
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
56
57
58
59
60
61
62
63
64
65
66
67
version: '3'
services:
zookeeper:
image: zookeeper:3.6
extra_hosts: [ 'host.docker.internal:host-gateway' ]
ports:
- "2181:2181"
rabbitmq:
image: rabbitmq:management
extra_hosts: [ 'host.docker.internal:host-gateway' ]
ports:
- "5672:5672"
- "15672:15672"
# tempo:
# image: grafana/tempo
# extra_hosts: ['host.docker.internal:host-gateway']
# command: [ "-config.file=/etc/tempo.yaml" ]
# volumes:
# - ./docker/tempo/tempo-local.yaml:/etc/tempo.yaml
# - ./tempo-data:/tmp/tempo
# ports:
# - "14268" # jaeger ingest
# - "9411:9411" # zipkin
zipkin:
image: openzipkin/zipkin
extra_hosts: [ 'host.docker.internal:host-gateway' ]
ports:
- "9411:9411" # zipkin
loki:
image: grafana/loki
extra_hosts: [ 'host.docker.internal:host-gateway' ]
command: [ "-config.file=/etc/loki/local-config.yaml" ]
ports:
- "3100:3100" # loki needs to be exposed so it receives logs
environment:
- JAEGER_AGENT_HOST=tempo
# - JAEGER_ENDPOINT=http://tempo:14268/api/traces # send traces to Tempo
- JAEGER_SAMPLER_TYPE=const
- JAEGER_SAMPLER_PARAM=1
prometheus:
image: prom/prometheus
extra_hosts: [ 'host.docker.internal:host-gateway' ]
command:
- --enable-feature=exemplar-storage
- --config.file=/etc/prometheus/prometheus.yml
volumes:
- ./docker/prometheus/prometheus.yml:/etc/prometheus/prometheus.yml:ro
ports:
- "9090:9090"
grafana:
image: grafana/grafana
extra_hosts: [ 'host.docker.internal:host-gateway' ]
volumes:
- ./docker/grafana/provisioning/datasources:/etc/grafana/provisioning/datasources:ro
- ./docker/grafana/provisioning/dashboards:/etc/grafana/provisioning/dashboards:ro
environment:
- GF_AUTH_ANONYMOUS_ENABLED=true
- GF_AUTH_ANONYMOUS_ORG_ROLE=Admin
- GF_AUTH_DISABLE_LOGIN_FORM=true
ports:
- "3000:3000"