-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathdocker-compose.yml
44 lines (40 loc) · 1.08 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
version: '3.8'
services:
modem-influx:
# image: ghcr.io/xninjakittyx/mb8600:main
build: .
restart: unless-stopped
depends_on:
- "influxdb"
- "grafana"
environment:
INFLUX_HOST: influxdb
networks:
internal:
ipv4_address: 172.20.0.2
influxdb:
# I haven't tested on 2.0+
image: influxdb:1.8
restart: unless-stopped
volumes:
- '/home/$USER/mb8600-influxdb/:/var/lib/influxdb'
networks:
internal:
ipv4_address: 172.20.0.3
grafana:
# I haven't tested on 2.0+
image: grafana/grafana:latest
restart: unless-stopped
volumes:
- '/home/$USER/mb8600-grafana/:/var/lib/influxdb'
- './grafana_provisioning:/etc/grafana/provisioning'
ports:
- 3000:3000
networks:
internal:
ipv4_address: 172.20.0.4
networks:
internal:
ipam:
config:
- subnet: 172.20.0.0/24