This repository has been archived by the owner on Sep 27, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
65 lines (65 loc) · 2.08 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
version: '3'
services:
#This is our main database container, we are listening on 8083 for administrative purposes and 8086 to talk to
#the database API
influxdb:
image: influxdb:1.2.3
ports:
- "8083:8083"
- "8086:8086"
volumes:
- "./influxdb.conf:/etc/influxdb/influxdb.conf"
#This is the telegraf container, it will be used primarily as a stastd interface listening on 8125
telegraf:
image: telegraf:1.2.1
volumes:
- "./telegraf.conf:/etc/telegraf/telegraf.conf"
ports:
- "8125:8125/udp"
depends_on:
- "influxdb"
#This container simply loops and sends counters to the statsd interface. we will scale this out in the demo as well
test_counter:
image: davidasnider/alpine-nc:20170516
volumes:
- "./counter.sh:/counter.sh"
entrypoint: /counter.sh
#This container simply loops and sends random numbers (1-100) as a gauge counter every 10 seconds. Will scale during
#the demo
test_gauge:
image: davidasnider/alpine-nc:20170516
environment:
- SLEEP=10
volumes:
- "./gauge.sh:/gauge.sh"
entrypoint: /gauge.sh
#This container simply loops and sends random numbers (1-100) as a timer/histogram every 10 seconds. We will scale
#during the demo
test_timing:
image: davidasnider/alpine-nc:20170516
environment:
- SLEEP=1
volumes:
- "./timing.sh:/timing.sh"
entrypoint: /timing.sh
#This container simply loops and sends random numbers as a set every second. We will scale during the demo
test_sets:
image: davidasnider/alpine-nc:20170516
environment:
- SLEEP=1
volumes:
- "./sets.sh:/sets.sh"
entrypoint: /sets.sh
#This is the grafana dashboard container, listening on port 3000
grafana:
image: grafana/grafana:4.2.0
ports:
- "3000:3000"
#This will be a simulated server that sends OS Performance stats to InfluxDB, we will scale this out in the demo
#to simulate multiple OS's
test_client:
image: telegraf:1.2.1
volumes:
- "./telegraf.conf:/etc/telegraf/telegraf.conf"
depends_on:
- "telegraf"