-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathdocker-compose.yml
75 lines (68 loc) · 1.35 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
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
# cadvisor:
# container_name: cadvisor
# hostname: cadvisor.local
# image: google/cadvisor:latest
# volumes:
# - /:/rootfs:ro
# - /var/run:/var/run:rw
# - /sys:/sys:ro
# - /var/lib/docker/:/var/lib/docker:ro
# ports:
# - "8080:8080"
mysql_data:
container_name: mysql_data
image: tianon/true
volumes:
- /var/lib/mysql
- /var/lib/mysql-files
mysql:
container_name: mysql
environment:
- MYSQL_ROOT_PASSWORD=ple15
- MYSQL_DATABASE=world
build: mysql
volumes_from:
- mysql_data
volumes:
- "./mysql/config:/etc/mysql/conf.d"
expose:
- "3306"
ports:
- "3306:3306"
elasticsearch_data:
container_name: elasticsearch_data
image: tianon/true
volumes:
- /usr/share/elasticsearch/data
elasticsearch:
container_name: elasticsearch
build: elasticsearch
volumes_from:
- elasticsearch_data
command: -Des.node.name="PLE15"
ports:
- "9200:9200"
graphite:
container_name: graphite
image: kamon/grafana_graphite
ports:
- "8000:80"
- "8126:8126"
logstash:
container_name: logstash
build: logstash
volumes:
- "./logstash/scripts:/opt/logstash/scripts"
environment:
- ES_PROXY_HOST=192.168.99.100
links:
- mysql
- graphite
- "elasticsearch:es"
ports:
- "9292:9292"
sysbench:
container_name: sysbench
build: ./sysbench
links:
- "mysql"