added homeassistant
This commit is contained in:
parent
fcb87a020c
commit
67af9cd3b0
2
homeassistant/.env.example
Normal file
2
homeassistant/.env.example
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
# DOMAIN_ROOT is the root domain that this service will register as with Traefik
|
||||||
|
DOMAIN_ROOT=domain.tld
|
26
homeassistant/docker-compose.yml
Normal file
26
homeassistant/docker-compose.yml
Normal file
@ -0,0 +1,26 @@
|
|||||||
|
version: '3'
|
||||||
|
services:
|
||||||
|
homeassistant:
|
||||||
|
container_name: homeassistant
|
||||||
|
image: "ghcr.io/home-assistant/home-assistant:stable"
|
||||||
|
volumes:
|
||||||
|
- homeassistant_config:/config
|
||||||
|
- /etc/localtime:/etc/localtime:ro
|
||||||
|
restart: unless-stopped
|
||||||
|
privileged: true
|
||||||
|
network_mode: host
|
||||||
|
|
||||||
|
environment:
|
||||||
|
- DOMAIN_ROOT=${DOMAIN_ROOT}
|
||||||
|
|
||||||
|
#labels:
|
||||||
|
# - "traefik.enable=true"
|
||||||
|
# - "traefik.http.routers.homeassistant.rule=Host(`homeassistant.${DOMAIN_ROOT}`)"
|
||||||
|
# - "traefik.http.services.homeassistant.loadbalancer.server.port=8123"
|
||||||
|
# - "traefik.http.services.homeassistant.loadbalancer.server.url=http://192.168.0.197:8123"
|
||||||
|
# - 'traefik.http.routers.homeassistant.middlewares=authelia@docker'
|
||||||
|
|
||||||
|
|
||||||
|
volumes:
|
||||||
|
homeassistant_config:
|
||||||
|
external: true
|
Loading…
x
Reference in New Issue
Block a user