2023-02-15 22:45:31 +01:00
|
|
|
services:
|
2024-11-04 13:08:51 +01:00
|
|
|
|
2023-02-15 22:45:31 +01:00
|
|
|
homeassistant:
|
|
|
|
image: linuxserver/homeassistant:latest
|
|
|
|
container_name: homeassistant
|
|
|
|
network_mode: host
|
2024-11-04 13:08:51 +01:00
|
|
|
restart: unless-stopped
|
2023-02-15 22:45:31 +01:00
|
|
|
environment:
|
|
|
|
- PUID=1000
|
|
|
|
- PGID=1000
|
|
|
|
- TZ=Europe/Berlin
|
|
|
|
volumes:
|
2023-02-25 14:09:52 +01:00
|
|
|
- ${DOCKER_VOLUME_STORAGE:-/mnt/docker-volumes}/homeassistant/config:/config
|
2023-02-15 22:45:31 +01:00
|
|
|
#ports:
|
2025-02-11 09:21:42 +01:00
|
|
|
# - 8123:8123 # optional if host network is used
|
2023-02-15 22:45:31 +01:00
|
|
|
#devices:
|
2025-02-11 09:21:42 +01:00
|
|
|
# - /path/to/device:/path/to/device #optional
|
|
|
|
deploy:
|
|
|
|
resources:
|
|
|
|
limits:
|
|
|
|
cpus: '0.5'
|
|
|
|
memory: 500M
|