mirror of
https://github.com/Haxxnet/Compose-Examples
synced 2024-11-25 04:51:13 +00:00
19 lines
455 B
YAML
19 lines
455 B
YAML
---
|
|
version: "2.1"
|
|
services:
|
|
homeassistant:
|
|
image: linuxserver/homeassistant:latest
|
|
container_name: homeassistant
|
|
network_mode: host
|
|
environment:
|
|
- PUID=1000
|
|
- PGID=1000
|
|
- TZ=Europe/Berlin
|
|
volumes:
|
|
- ${DOCKER_VOLUME_STORAGE:-/mnt/docker-volumes}/homeassistant/config:/config
|
|
#ports:
|
|
# - 8123:8123 #optional
|
|
#devices:
|
|
# - /path/to/device:/path/to/device #optional
|
|
restart: unless-stopped
|