forked from kpn/py-timeexecution
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
48 lines (48 loc) · 888 Bytes
/
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
influx:
image: tutum/influxdb:0.8.8
ports:
- "8086:8086"
- "8083:8083"
- "4444:4444/udp"
environment:
- PRE_CREATE_DB=metrics
- UDP_DB=metrics
elasticsearch:
image: elasticsearch:2.1
ports:
- "9200:9200"
kibana:
image: kibana
ports:
- "5601:5601"
links:
- elasticsearch
grafana:
image: grafana/grafana
ports:
- "3000:3000"
environment:
- GF_SECURITY_ADMIN_PASSWORD=admin
links:
- influx
- elasticsearch
influx_wait:
image: kpndigital/tox
links:
- influx
command: sh -c "while ! nc -w1 -z influx 8086; do sleep 1; done"
elasticsearch_wait:
image: kpndigital/tox
links:
- elasticsearch
command: sh -c "while ! nc -w1 -z elasticsearch 9200; do sleep 1; done"
app:
build: .
volumes:
- .:/app
command: tox
links:
- influx_wait
- influx
- elasticsearch_wait
- elasticsearch