Files
Compose-Examples/examples/home-assistant/docker-compose.yml
LRVT baaaad842d
All checks were successful
CI / validateComposeSyntax (push) Successful in 20s
Update docker-compose.yml
2025-11-29 00:22:58 +01:00

25 lines
602 B
YAML

services:
homeassistant:
image: linuxserver/homeassistant:latest
container_name: homeassistant
network_mode: host
cap_add:
- NET_ADMIN
- NET_RAW
restart: unless-stopped
environment:
- PUID=1000
- PGID=1000
- TZ=Europe/Berlin
volumes:
- ${DOCKER_VOLUME_STORAGE:-/mnt/docker-volumes}/homeassistant/config:/config
#ports:
# - 8123:8123 # optional if host network is used
#devices:
# - /path/to/device:/path/to/device #optional
deploy:
resources:
limits:
cpus: '0.5'
memory: 500M