homeassistant-config/docker-compose.yaml

17 lines
383 B
YAML

version: '3'
services:
homeassistant:
container_name: home-assistant
build:
context: .
dockerfile: Dockerfile
volumes:
- /volumes/homeassistant_config:/config
- /etc/localtime:/etc/localtime:ro
devices:
- /dev/serial/by-id/usb-0658_0200-if00:/dev/zwave-stick
restart: always
network_mode: host
#ports:
# - "8123:8123"