forked from tarantool/grafana-dashboard
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
60 lines (56 loc) · 1.52 KB
/
docker-compose.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
version: '3'
services:
example_project:
build:
context: ./example/project
dockerfile: Dockerfile
entrypoint: ["/usr/local/bin/tarantool"]
command: ["init.lua"]
networks:
tarantool_dashboard_dev:
ports:
- 8081:8081
telegraf:
image: telegraf:1.13-alpine
networks:
tarantool_dashboard_dev:
volumes:
# configure telegraf to work out of the box
- ./example/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:
prometheus:
image: prom/prometheus:v2.17.2
networks:
tarantool_dashboard_dev:
ports:
- 9090:9090
volumes:
- ./example/prometheus/prometheus.yml:/etc/prometheus/prometheus.yml
grafana:
image: grafana/grafana:6.6.0
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/grafana/provisioning:/etc/grafana/provisioning
networks:
tarantool_dashboard_dev:
driver: bridge