-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
71 lines (68 loc) · 1.43 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
version: '3'
# This is for local dev deployments. It will not grab the latest docker
# image for the django app from the docker repo. It will build and deploy the local
# changes
services:
influxdb:
image: influxdb:latest
container_name: influxdb
ports:
- "8083:8083"
- "8086:8086"
- "8090:8090"
env_file:
- 'env.influxdb'
volumes:
# Data persistency
# sudo mkdir -p /srv/docker/influxdb/data
- /srv/docker/influxdb/data:/var/lib/influxdb
networks:
- tank_yard
telegraf:
image: telegraf:latest
container_name: telegraf
networks:
- tank_yard
volumes:
- ./telegraf.conf:/etc/telegraf/telegraf.conf:ro
grafana:
image: grafana/grafana:latest
container_name: grafana
ports:
- "3000:3000"
- "8186:8086"
- "8188:8080"
env_file:
- 'env.grafana'
networks:
- tank_yard
links:
- influxdb
yandex-tank:
build:
context: docker/yandex-tank
dockerfile: Dockerfile
depends_on:
- telegraf
volumes:
- tank-app:/etc/yandex-tank
ports:
- "8888:8888"
networks:
- tank_yard
# controlcenter:
# build:
# context: docker/controlcenter
# dockerfile: Dockerfile
# ports:
# - "8080:80"
# depends_on:
# - yandex-tank
# tmpfs:
# - /tld_service/var
# networks:
# - tank_yard
networks:
tank_yard:
volumes:
tank-app: