-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
67 lines (61 loc) · 1.44 KB
/
docker-compose.yml
File metadata and controls
67 lines (61 loc) · 1.44 KB
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
version: '2'
services:
# gosstrak-fc:
# image: iomz/gosstrak-fc:0.1
# container_name: gosstrak-fc
# hostname: gosstrak-fc
# # volumes:
# # - /opt/gosstrak/fc:/opt/gosstrak/fc
# stop_grace_period: 30s
# links:
# - influxdb:influxdb
# depends_on:
# - influxdb
# # environment:
# # LLRP_PORT
# networks:
# gosstrak:
# ipv4_address: 172.2.234.2
influxdb:
image: influxdb:latest
container_name: influxdb
environment:
- INFLUXDB_GRAPHITE_ENABLED=true
- INFLUXDB_DATA_ENGINE=tsm1
- INFLUXDB_REPORTING_DISABLED=false
ports:
- "8086:8086"
restart: always
volumes:
- ./test/data/influxdb:/var/lib/influxdb
networks:
gosstrak:
ipv4_address: 172.1.234.2
# telegraf:
# image: telegraf:latest
# container_name: telegraf
# links:
# - influxdb
# voluems:
# - ./telegraf.conf:/etc/telegraf/telegraf.conf:ro
grafana:
image: grafana/grafana:latest
container_name: grafana
ports:
- "3000:3000"
links:
- influxdb
volumes:
- ./test/data/grafana:/var/lib/grafana
environment:
- GF_INSTALL_PLUGINS=grafana-clock-panel,briangann-gauge-panel,natel-plotly-panel,grafana-simple-json-datasource
networks:
gosstrak:
ipv4_address: 172.1.234.3
networks:
gosstrak:
driver: bridge
ipam:
driver: default
config:
- subnet: 172.1.234.0/24