-
Notifications
You must be signed in to change notification settings - Fork 22
/
docker-compose.yml.dist
50 lines (50 loc) · 1.18 KB
/
docker-compose.yml.dist
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
locust:
image: yoanisgil/locust:latest
ports:
- "8089:8089"
- "5000:5000"
links:
- influxdb
- statsd
- grafana
volumes:
- ./locustfile.py:/src/app/locustfile.py
- ./dashboard.json:/src/app/dashboard.json
working_dir: /src/app
environment:
STATSD_HOST: statsd
STATSD_PORT: 8125
STATSD_PREFIX: locust
GRAFANA_URL: http://grafana:3000
GRAFANA_USER: admin
GRAFANA_PASSWORD: admin
INFLUXDB_USER: root
INFLUXDB_PASSWORD: root
INFLUXDB_HOST: http://0.0.0.0:8086
statsd:
image: shakr/statsd-influxdb
ports:
- "8126:8126"
- "8125:8125/tcp"
- "8125:8125/udp"
environment:
INFLUXDB_HOST: influxdb
INFLUXDB_DATABASE: statsd
INFLUXDB_USERNAME: root
INFLUXDB_PASSWORD: root
STATSD_DEBUG: True
volumes:
- ./config.js:/statsd/config.js
links:
- influxdb
influxdb:
image: tutum/influxdb:0.8.8
ports:
- "8083:8083"
- "8086:8086"
environment:
PRE_CREATE_DB: statsd
grafana:
image: grafana/grafana:2.0.1
ports:
- "3000:3000"