-
Notifications
You must be signed in to change notification settings - Fork 12
/
docker-compose.tdg.yml
87 lines (80 loc) · 2.43 KB
/
docker-compose.tdg.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
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
services:
tdg:
image: tdg
environment:
TARANTOOL_ALIAS: tdg
networks:
tarantool_dashboard_dev:
ports:
- 8080:8080
zookeeper:
image: confluentinc/cp-zookeeper:latest
environment:
ZOOKEEPER_CLIENT_PORT: 32181
ZOOKEEPER_TICK_TIME: 2000
networks:
tarantool_dashboard_dev:
kafka:
image: confluentinc/cp-kafka:latest
depends_on:
- zookeeper
networks:
tarantool_dashboard_dev:
ports:
- 9092:9092
environment:
KAFKA_BROKER_ID: 1
KAFKA_ZOOKEEPER_CONNECT: zookeeper:32181
KAFKA_ADVERTISED_LISTENERS: PLAINTEXT://kafka:29092,PLAINTEXT_HOST://kafka:9092
KAFKA_LISTENER_SECURITY_PROTOCOL_MAP: PLAINTEXT:PLAINTEXT,PLAINTEXT_HOST:PLAINTEXT
KAFKA_INTER_BROKER_LISTENER_NAME: PLAINTEXT
KAFKA_OFFSETS_TOPIC_REPLICATION_FACTOR: 1
telegraf:
image: telegraf:1.13-alpine
networks:
tarantool_dashboard_dev:
volumes:
# configure telegraf to work out of the box
- ./example_cluster/telegraf/telegraf.tdg.conf:/etc/telegraf/telegraf.conf:ro
influxdb:
image: influxdb:1.7-alpine
environment:
INFLUXDB_REPORTING_DISABLED: "true"
INFLUXDB_DB: "metrics"
INFLUXDB_ADMIN_USER: "admin"
INFLUXDB_ADMIN_PASSWORD: "admin"
INFLUXDB_USER: "telegraf"
INFLUXDB_USER_PASSWORD: "telegraf"
INFLUXDB_HTTP_AUTH_ENABLED: "true"
networks:
tarantool_dashboard_dev:
ports:
- 8086:8086
prometheus:
image: prom/prometheus:v2.53.1
networks:
tarantool_dashboard_dev:
ports:
- 9090:9090
volumes:
- ./example_cluster/prometheus/prometheus.tdg.yml:/etc/prometheus/prometheus.yml
grafana:
image: grafana/grafana:11.2.2
environment:
GF_SECURITY_DISABLE_INITIAL_ADMIN_CREATION: "true"
GF_AUTH_ANONYMOUS_ENABLED: "true"
GF_AUTH_ANONYMOUS_ORG_ROLE: "Admin"
GF_AUTH_DISABLE_SIGNOUT_MENU: "true"
GF_AUTH_DISABLE_LOGIN_FORM: "true"
networks:
tarantool_dashboard_dev:
ports:
- 3000:3000
volumes:
- ./example_cluster/grafana/provisioning:/etc/grafana/provisioning
# Map to different folders to prevent name collision.
- ./tests/Prometheus/dashboard_tdg_compiled.json:/usr/lib/dashboards/Prometheus-common/dashboard.json
- ./tests/InfluxDB/dashboard_tdg_compiled.json:/usr/lib/dashboards/InfluxDB-common/dashboard.json
networks:
tarantool_dashboard_dev:
driver: bridge