Don't use host hack to connect to influx

Just bind to internal port like a sane person
This commit is contained in:
Jake Howard 2020-06-28 19:16:22 +01:00
parent 9f09554053
commit e2ca9ad4a9
Signed by: jake
GPG Key ID: 57AFB45680EDD477
2 changed files with 1 additions and 3 deletions

View File

@ -15,7 +15,7 @@ homeassistant:
- type: totp
influxdb:
host: host.docker.internal
host: 127.0.0.1
port: 48086
person:

View File

@ -11,8 +11,6 @@ services:
restart: unless-stopped
depends_on:
- influxdb
extra_hosts:
- host.docker.internal:172.17.0.1
labels:
- traefik.enable=true
- traefik.http.routers.homeassistant.rule=Host(`homeassistant.jakehoward.tech`)