Don't use host hack to connect to influx
Just bind to internal port like a sane person
This commit is contained in:
parent
9f09554053
commit
e2ca9ad4a9
2 changed files with 1 additions and 3 deletions
|
@ -15,7 +15,7 @@ homeassistant:
|
||||||
- type: totp
|
- type: totp
|
||||||
|
|
||||||
influxdb:
|
influxdb:
|
||||||
host: host.docker.internal
|
host: 127.0.0.1
|
||||||
port: 48086
|
port: 48086
|
||||||
|
|
||||||
person:
|
person:
|
||||||
|
|
|
@ -11,8 +11,6 @@ services:
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
depends_on:
|
depends_on:
|
||||||
- influxdb
|
- influxdb
|
||||||
extra_hosts:
|
|
||||||
- host.docker.internal:172.17.0.1
|
|
||||||
labels:
|
labels:
|
||||||
- traefik.enable=true
|
- traefik.enable=true
|
||||||
- traefik.http.routers.homeassistant.rule=Host(`homeassistant.jakehoward.tech`)
|
- traefik.http.routers.homeassistant.rule=Host(`homeassistant.jakehoward.tech`)
|
||||||
|
|
Loading…
Reference in a new issue