Fixed broken Directory + Oauth

This commit is contained in:
Benjamin Durham authored and GitHub committed 2020-09-17 13:43:56 +12:00
1 parent d2b43fc36d
commit acb1b36599
1 file changed
+4 -1
+4 -1
View File
@@ -36,6 +36,9 @@ mkdir /var/data/runtime/homeassistant/influxdb
Create /var/data/config/homeassistant/grafana.env, and populate with the following - this is to enable grafana to work with oauth2_proxy without requiring an additional level of authentication: Create /var/data/config/homeassistant/grafana.env, and populate with the following - this is to enable grafana to work with oauth2_proxy without requiring an additional level of authentication:
``` ```
GF_AUTH_BASIC_ENABLED=false GF_AUTH_BASIC_ENABLED=false
OAUTH2_PROXY_CLIENT_ID=
OAUTH2_PROXY_CLIENT_SECRET=
OAUTH2_PROXY_COOKIE_SECRET=
``` ```
### Setup Docker Swarm ### Setup Docker Swarm
@@ -55,7 +58,7 @@ services:
networks: networks:
- internal - internal
volumes: volumes:
- /var/data/homeassistant/influxdb:/var/lib/influxdb - /var/data/runtime/homeassistant/influxdb:/var/lib/influxdb
- /etc/localtime:/etc/localtime:ro - /etc/localtime:/etc/localtime:ro
homeassistant: homeassistant: