services: homeassistant: image: homeassistant/home-assistant:stable container_name: home-assistant restart: unless-stopped ports: - "127.0.0.1:8123:8123" volumes: - ./config:/config - /etc/localtime:/etc/localtime:ro environment: - TZ=Europe/Moscow healthcheck: test: ["CMD", "wget", "-qO-", "http://127.0.0.1:8123/manifest.json"] interval: 30s timeout: 10s retries: 3 start_period: 60s logging: driver: journald options: tag: "{{.Name}}"