Update homeassistant
This commit is contained in:
@@ -3,26 +3,14 @@ services:
|
|||||||
container_name: homeassistant
|
container_name: homeassistant
|
||||||
image: docker.io/homeassistant/home-assistant:2025.7.4
|
image: docker.io/homeassistant/home-assistant:2025.7.4
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
labels:
|
|
||||||
- traefik-instance=${TRAEFIK_INSTANCE}
|
|
||||||
- traefik.enable=true
|
|
||||||
- traefik.http.routers.homeassistant.rule=Host(`${TRAEFIK_DOMAIN}`)
|
|
||||||
- traefik.http.routers.homeassistant.entrypoints=websecure
|
|
||||||
- traefik.http.services.homeassistant.loadbalancer.server.port=8123
|
|
||||||
volumes:
|
volumes:
|
||||||
- ${APPDATA_PATH}/homeassistant/config:/config
|
- ${APPDATA_PATH}/homeassistant/config:/config
|
||||||
- /etc/localtime:/etc/localtime:ro
|
- /etc/localtime:/etc/localtime:ro
|
||||||
ports:
|
ports:
|
||||||
- ${PORT}:8123
|
- ${PORT}:8123
|
||||||
networks:
|
|
||||||
- frontend
|
|
||||||
healthcheck:
|
healthcheck:
|
||||||
test: "curl --connect-timeout 10 --silent -f http://127.0.0.1:8123/ || exit 1"
|
test: "curl --connect-timeout 10 --silent -f http://127.0.0.1:8123/ || exit 1"
|
||||||
interval: 20s
|
interval: 20s
|
||||||
timeout: 10s
|
timeout: 10s
|
||||||
retries: 3
|
retries: 3
|
||||||
start_period: 30s
|
start_period: 30s
|
||||||
|
|
||||||
networks:
|
|
||||||
frontend:
|
|
||||||
external: true
|
|
||||||
|
|||||||
Reference in New Issue
Block a user