home-assistant: migrate to kubernetes

This commit is contained in:
2025-12-04 20:58:16 +01:00
parent e721bc5e3b
commit d04d881ad0
4 changed files with 41 additions and 52 deletions

View File

@@ -1,33 +0,0 @@
services:
homeassistant:
container_name: homeassistant
image: "ghcr.io/home-assistant/home-assistant:2025.11.3"
ports:
- "8123"
networks:
- default
- proxy
environment:
- TZ=Europe/Paris
volumes:
- ha_config:/config
- /etc/localtime:/etc/localtime:ro
- /run/dbus:/run/dbus:ro
restart: unless-stopped
labels:
- "traefik.enable=true"
- "traefik.http.routers.homeassistant.rule=Host(`homeassistant.lan`)"
- "traefik.http.services.homeassistant.loadbalancer.server.port=8123"
volumes:
ha_config:
driver: local
driver_opts:
type: 'none'
o: 'bind'
device: '/app/home-assistant/config'
networks:
proxy:
external: true
name: proxy