Update ansible-lint

Required a lot of renaming :(
This commit is contained in:
Jake Howard
2020-09-26 17:53:47 +01:00
parent cc43910be6
commit 24d11deeae
54 changed files with 12 additions and 5 deletions

View File

@ -0,0 +1,28 @@
# Configure a default setup of Home Assistant (frontend, api, etc)
default_config:
# Text to speech
tts:
- platform: google_translate
group: !include groups.yaml
automation: !include automations.yaml
script: !include scripts.yaml
scene: !include scenes.yaml
homeassistant:
auth_mfa_modules:
- type: totp
influxdb:
host: 127.0.0.1
port: 48086
light:
- platform: flux_led
devices:
192.168.1.211:
name: bed
recorder:
db_url: postgres://home-assistant:home-assistant@127.0.0.1:45432/home-assistant

View File

@ -0,0 +1,58 @@
version: "2.3"
services:
homeassistant:
image: homeassistant/home-assistant:stable
network_mode: host
volumes:
- ./config:/config
environment:
- TZ=Europe/London
restart: unless-stopped
depends_on:
- influxdb
- db
labels:
- traefik.enable=true
- traefik.http.routers.homeassistant.rule=Host(`homeassistant.jakehoward.tech`)
- traefik.http.routers.homeassistant.tls.certresolver=le
- traefik.http.services.home-assistant-homeassistant.loadbalancer.server.port=8123
- traefik.http.routers.homeassistant.middlewares=compress@file
influxdb:
image: influxdb:1.8-alpine
restart: unless-stopped
volumes:
- ./influxdb:/var/lib/influxdb
ports:
- 127.0.0.1:48086:8086
networks:
default:
grafana:
aliases:
- ha-influxdb
environment:
- INFLUXDB_DB=home_assistant
- INFLUXDB_HTTP_AUTH_ENABLED=
esphome:
image: esphome/esphome:latest
restart: unless-stopped
network_mode: host
volumes:
- ./esphome:/config
db:
image: postgres:12-alpine
restart: unless-stopped
ports:
- 127.0.0.1:45432:5432
volumes:
- /mnt/tank/dbs/postgres/home-assistant:/var/lib/postgresql/data
environment:
- POSTGRES_PASSWORD=home-assistant
- POSTGRES_USER=home-assistant
networks:
grafana:
external: true