Update homeassistant
This commit is contained in:
@@ -3,14 +3,13 @@ services:
|
|||||||
homeassistant:
|
homeassistant:
|
||||||
# Basic container configuration
|
# Basic container configuration
|
||||||
container_name: homeassistant
|
container_name: homeassistant
|
||||||
image: docker.io/homeassistant/home-assistant:2025.7.1
|
image: docker.io/homeassistant/home-assistant:2025.7.1 # Official Home Assistant image
|
||||||
restart: unless-stopped
|
restart: unless-stopped # Auto-restart on failure
|
||||||
|
|
||||||
|
# Network configuration (host mode for full local network access)
|
||||||
|
network_mode: host # Required for discovering local devices and integrations
|
||||||
|
|
||||||
# Persistent storage and system configuration
|
# Persistent storage and system configuration
|
||||||
volumes:
|
volumes:
|
||||||
- ${APPDATA_PATH}/homeassistant/config:/config # Configuration files
|
- ${APPDATA_PATH}/homeassistant/config:/config # Configuration files
|
||||||
- /etc/localtime:/etc/localtime:ro # Sync host timezone
|
- /etc/localtime:/etc/localtime:ro # Sync host timezone for proper logging
|
||||||
|
|
||||||
# Network port configuration
|
|
||||||
ports:
|
|
||||||
- ${PORT}:8123 # Web interface port
|
|
||||||
|
Reference in New Issue
Block a user