-
Notifications
You must be signed in to change notification settings - Fork 12
/
Copy pathdocker-compose.cartridge.yml
80 lines (74 loc) · 2.19 KB
/
docker-compose.cartridge.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
services:
app:
build:
context: ./example_cluster/cartridge_project
dockerfile: app.Dockerfile
networks:
tarantool_dashboard_dev:
ports:
- 13301:13301
- 13302:13302
- 13303:13303
- 13304:13304
- 13305:13305
- 8081:8081
- 8082:8082
- 8083:8083
- 8084:8084
- 8085:8085
load_generator:
build:
context: ./example_cluster/cartridge_project
dockerfile: load.Dockerfile
networks:
tarantool_dashboard_dev:
telegraf:
image: telegraf:1.13-alpine
networks:
tarantool_dashboard_dev:
volumes:
# configure telegraf to work out of the box
- ./example_cluster/telegraf/telegraf.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.yml:/etc/prometheus/prometheus.yml
- ./example_cluster/prometheus/alerts.yml:/etc/prometheus/cartridge_alerts.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_cartridge_compiled.json:/usr/lib/dashboards/Prometheus-common/dashboard.json
- ./tests/InfluxDB/dashboard_cartridge_compiled.json:/usr/lib/dashboards/InfluxDB-common/dashboard.json
networks:
tarantool_dashboard_dev:
driver: bridge