-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathdocker-compose.yml
102 lines (96 loc) · 2.13 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
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
version: "2"
services:
influxdb:
container_name: influxdb
image: influxdb
environment:
- TZ=Europe/Moscow
ports:
- "8086:8086"
volumes:
- ~/influxdb/data:/var/lib/influxdb
networks:
- influxdb-net
restart: always
wireguard:
container_name: wireguard
image: lscr.io/linuxserver/wireguard:latest
cap_add:
- NET_ADMIN
- SYS_MODULE
environment:
- PUID=1000
- PGID=1000
- TZ=Europe/Moscow
- SERVERURL=auto #optional
- SERVERPORT=1871 #optional
- PEERS=5 #optional
- PEERDNS=1.1.1.1 #optional
- INTERNAL_SUBNET=10.13.13.0 #optional
- ALLOWEDIPS=0.0.0.0/0 #optional
- LOG_CONFS=false #optional
volumes:
- ~/wireguard/config:/config
- /lib/modules:/lib/modules
ports:
- 1871:1871/udp
sysctls:
- net.ipv4.conf.all.src_valid_mark=1
restart: always
telegraf:
container_name: telegraf
image: telegraf
environment:
- TZ=Europe/Moscow
volumes:
- ~/telegraf/conf/telegraf.conf:/etc/telegraf/telegraf.conf
- /var/run/docker.sock:/var/run/docker.sock
networks:
- telegraf-net
restart: always
grafana:
container_name: grafana
image: grafana/grafana
environment:
- TZ=Europe/Moscow
ports:
- "80:80"
volumes:
- ~/grafana/data:/var/lib/grafana
- ~/grafana/log:/var/log/grafana
- ~/grafana/conf/grafana.ini:/etc/grafana/grafana.ini
links:
- influxdb
networks:
- grafana-net
restart: always
mosquitto:
container_name: mosquitto
image: eclipse-mosquitto:latest
environment:
- TZ=Europe/Moscow
volumes:
- ~/mosquitto/:/mosquitto
ports:
- 1883:1883
networks:
- mosquitto-net
restart: always
node-red:
container_name: node-red
image: nodered/node-red:latest
environment:
- TZ=Europe/Moscow
ports:
- "1880:1880"
volumes:
- ~/node-red/data:/data
networks:
- node-red-net
restart: always
networks:
node-red-net:
influxdb-net:
mosquitto-net:
grafana-net:
telegraf-net: