update monitoring docker-compose conf
parent
8f9470d514
commit
20f7d919e2
|
@ -1,5 +1,10 @@
|
||||||
|
INFLUXDB_ADDRESS=192.168.16.4
|
||||||
INFLUXDB_DB=collectd
|
INFLUXDB_DB=collectd
|
||||||
INFLUXDB_READ_USER=grafana
|
INFLUXDB_READ_USER=grafana
|
||||||
INFLUXDB_READ_PASSWORD=supersecret
|
INFLUXDB_READ_PASSWORD=supersecret1
|
||||||
|
GF_ADDRESS=192.168.16.3
|
||||||
GF_SECURITY_ADMIN_USER=admin
|
GF_SECURITY_ADMIN_USER=admin
|
||||||
GF_SECURITY_ADMIN_PASSWORD=changeme123
|
GF_SECURITY_ADMIN_PASSWORD=supersecret2
|
||||||
|
# enable these to serve Grafana from a sub-path, e.g., http://homelab.server/grafana
|
||||||
|
# GF_SERVER_ROOT_URL=%(protocol)s://%(domain)s/grafana/
|
||||||
|
# GF_SERVER_SERVE_FROM_SUB_PATH=true
|
|
@ -3,7 +3,8 @@ services:
|
||||||
grafana:
|
grafana:
|
||||||
image: grafana/grafana:6.6.2
|
image: grafana/grafana:6.6.2
|
||||||
networks:
|
networks:
|
||||||
- openwrt-lan
|
openwrt-lan:
|
||||||
|
ipv4_address: $GF_ADDRESS
|
||||||
ports:
|
ports:
|
||||||
- "3000:3000"
|
- "3000:3000"
|
||||||
env_file:
|
env_file:
|
||||||
|
@ -16,7 +17,8 @@ services:
|
||||||
influxdb:
|
influxdb:
|
||||||
image: influxdb:1.7
|
image: influxdb:1.7
|
||||||
networks:
|
networks:
|
||||||
- openwrt-lan
|
openwrt-lan:
|
||||||
|
ipv4_address: $INFLUXDB_ADDRESS
|
||||||
env_file:
|
env_file:
|
||||||
- .env
|
- .env
|
||||||
volumes:
|
volumes:
|
||||||
|
|
Loading…
Reference in New Issue