-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathdocker-compose.yaml
89 lines (77 loc) · 1.87 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
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
88
89
version: '3.8'
services:
kataribe:
build:
context: ./kataribe
dockerfile: ./Dockerfile
volumes:
- ./kataribe/kataribe-config:/workdir
- ./kataribe/webserver-log:/logs
slowquery:
image: mysql:8.0.34-debian
working_dir: /workdir
volumes:
- ./mysql-slowquery:/workdir/mysql-slowquery
pprof:
build:
context: ./pprof
dockerfile: ./Dockerfile
volumes:
- ./pprof/profilefiles:/tmp/profile
- ./pprof/output:/tmp/output
expose:
- "8888"
network_mode: host
alp:
build:
context: ./alp
dockerfile: ./Dockerfile
volumes:
- ./alp:/workdir/alp
ansible:
build:
context: ./ansible
dockerfile: ./Dockerfile
volumes:
- ./:/workdir
pt-query-digest:
build:
context: ./pt-query-digest
dockerfile: ./Dockerfile
volumes:
- ./mysql-slowquery:/workdir/mysql-slowquery
prometheus:
image: prom/prometheus:latest
ports:
- 9090:9090
volumes:
- ./prometheus-grafana/prom/prometheus.yaml:/etc/prometheus/prometheus.yml
command:
- '--config.file=/etc/prometheus/prometheus.yml'
grafana:
image: grafana/grafana:latest
ports:
- 3000:3000
environment:
- GF_SECURITY_ADMIN_USER=admin
- GF_SECURITY_ADMIN_PASSWORD=admin
volumes:
- ./prometheus-grafana/grafana/datasources:/etc/grafana/provisioning/datasources
- ./prometheus-grafana/grafana/dashboards:/etc/grafana/provisioning/dashboards
- ./prometheus-grafana/grafana/dashboard-jsons:/var/lib/grafana/dashboards
deploy-test-1:
build:
context: ./deploy-test
dockerfile: ./Dockerfile
ports:
- "2222:22"
- "9100:9100"
deploy-test-2:
build:
context: ./deploy-test
dockerfile: ./Dockerfile
ports:
- "2223:22"
- "9101:9100"
volumes:
prom_data: