Files
docker-compose/homeassistant/docker-compose.yml
T

29 lines
840 B
YAML
Raw Normal View History

2025-06-18 16:12:48 +05:30
services:
homeassistant:
container_name: homeassistant
2025-07-19 20:30:14 +05:30
image: docker.io/homeassistant/home-assistant:2025.7.2
restart: unless-stopped
2025-07-20 21:55:20 +05:30
labels:
2025-07-26 18:31:07 +05:30
- traefik-instance=${TRAEFIK_INSTANCE}
2025-07-20 21:55:20 +05:30
- traefik.enable=true
- traefik.http.routers.homeassistant.rule=Host(`${TRAEFIK_DOMAIN}`)
2025-07-27 20:56:44 +05:30
- traefik.http.routers.homeassistant.entrypoints=websecure
2025-07-20 21:55:20 +05:30
- traefik.http.services.homeassistant.loadbalancer.server.port=8123
2025-06-18 16:12:48 +05:30
volumes:
2025-07-19 20:30:14 +05:30
- ${APPDATA_PATH}/homeassistant/config:/config
- /etc/localtime:/etc/localtime:ro
2025-07-20 21:55:20 +05:30
ports:
- ${PORT}:8123
networks:
- frontend
2025-07-16 22:42:04 +05:30
healthcheck:
test: "curl --connect-timeout 10 --silent -f http://127.0.0.1:8123/ || exit 1"
2025-07-20 15:48:33 +05:30
interval: 20s
timeout: 10s
2025-07-16 22:42:04 +05:30
retries: 3
2025-07-20 15:48:33 +05:30
start_period: 30s
2025-07-20 21:55:20 +05:30
networks:
frontend:
external: true