26 lines
876 B
YAML
26 lines
876 B
YAML
services:
|
|
homeassistant:
|
|
container_name: homeassistant
|
|
image: ghcr.io/home-assistant/home-assistant:stable
|
|
restart: unless-stopped
|
|
privileged: true
|
|
environment:
|
|
- TZ=Europe/Vienna
|
|
volumes:
|
|
- /srv/home-assistent/config:/config
|
|
- /etc/localtime:/etc/localtime:ro
|
|
- /run/dbus:/run/dbus:ro
|
|
networks:
|
|
- traefik_nw_public
|
|
labels:
|
|
- traefik.enable=true
|
|
- traefik.http.routers.homeassistant.entrypoints=web,websecure
|
|
- traefik.http.routers.homeassistant.rule=Host(`ha.haider.app`)
|
|
- traefik.http.routers.homeassistant.tls=true
|
|
- traefik.http.routers.homeassistant.tls.certresolver=production
|
|
- traefik.docker.network=traefik_nw_public
|
|
- traefik.http.services.homeassistant.loadbalancer.server.port=8123
|
|
|
|
networks:
|
|
traefik_nw_public:
|
|
external: true |