-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathdocker-compose.yml
49 lines (49 loc) · 1.02 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
---
name: sdnify
services:
faucet:
restart: always
image: faucet/faucet:1.10.11
environment:
- FAUCET_CONFIG=/etc/faucet/faucet.yaml
- FAUCET_CONFIG_STAT_RELOAD=1
volumes:
- ./etc/faucet/:/etc/faucet/
- ./etc/faucet/:/var/log/faucet/
ports:
- 6653:6653
- 9302
gauge:
restart: always
image: faucet/gauge:1.10.11
environment:
- GAUGE_CONFIG_STAT_RELOAD=1
volumes:
- ./etc/faucet/:/etc/faucet/
- ./etc/faucet/:/var/log/faucet/
ports:
- 6654:6653
- 9303
prometheus:
image: prom/prometheus:v2.55.0
restart: always
volumes:
- prometheus-storage:/prometheus
- ./etc/prometheus/prometheus.yml:/etc/prometheus/prometheus.yml
ports:
- 9090:9090
links:
- faucet
- gauge
grafana:
image: grafana/grafana:11.2.2
restart: always
volumes:
- grafana-storage:/var/lib/grafana
ports:
- 3000:3000
links:
- prometheus
volumes:
grafana-storage:
prometheus-storage: