-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
69 lines (63 loc) · 1.36 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
version: '3.6'
services:
app:
restart: always
ports:
- '54321:54321'
build:
context: .
dockerfile: .docker/Dockerfile-app
target: cli-dev
volumes:
- .:/opt/app
- ./.docker/wait-for:/bin/wait-for
depends_on:
- rabbitmq
- grafana
- telegraf
links:
- rabbitmq
healthcheck:
test: bash -c "</dev/tcp/localhost/54321"
rabbitmq:
restart: always
ports:
- '15672:15672'
build:
context: .
dockerfile: .docker/Dockerfile-rabbitmq
healthcheck:
test: bash -c "</dev/tcp/localhost/5672"
telegraf:
image: telegraf:1.7-alpine
restart: always
volumes:
- ./.docker/telegraf/telegraf.conf:/etc/telegraf/telegraf.conf:ro
depends_on:
- graphite
- rabbitmq
links:
- graphite
- rabbitmq
ports:
- '8125:8125/udp'
graphite:
image: graphiteapp/graphite-statsd
restart: always
grafana:
image: grafana/grafana
restart: always
depends_on:
- graphite
env_file: .docker/composer.dev.env
links:
- graphite
ports:
- '3000:3000'
volumes:
- grafana_data:/var/lib/grafana
- ./.docker/grafana/provisioning/:/etc/grafana/provisioning/
- ./.docker/grafana/dashboards/:/var/lib/grafana/dashboards/
volumes:
grafana_data: {}
influxdb_data: {}