Added home assistant
This commit is contained in:
17
home-assistant/compose.yml
Normal file
17
home-assistant/compose.yml
Normal file
@@ -0,0 +1,17 @@
|
||||
# /services/home-assistant/compose.yml
|
||||
|
||||
services:
|
||||
home-assistant:
|
||||
image: homeassistant/home-assistant:2025.7
|
||||
container_name: home-assistant
|
||||
restart: always
|
||||
networks:
|
||||
- traefik
|
||||
volumes:
|
||||
- ./data:/config
|
||||
- /etc/localtime:/etc/localtime:ro
|
||||
- /run/dbus:/run/dbus:ro
|
||||
|
||||
networks:
|
||||
traefik:
|
||||
external: true
|
||||
15
traefik/config/home-assistant.yml
Normal file
15
traefik/config/home-assistant.yml
Normal file
@@ -0,0 +1,15 @@
|
||||
# /services/traefik/config/home-assistant.yml
|
||||
|
||||
http:
|
||||
routers:
|
||||
smarthome:
|
||||
entryPoints:
|
||||
- https
|
||||
rule: Host(`smarthome.eliasfink.de`)
|
||||
service: home-assistant
|
||||
|
||||
services:
|
||||
home-assistant:
|
||||
loadBalancer:
|
||||
servers:
|
||||
- url: http://home-assistant:8123
|
||||
Reference in New Issue
Block a user