docker-containers/hass.yml

11 lines
283 B
YAML
Raw Normal View History

2023-04-04 17:05:31 +08:00
version: '3'
services:
homeassistant:
container_name: homeassistant
image: "ghcr.io/home-assistant/home-assistant:stable"
volumes:
- /opt/hass:/config
- /etc/localtime:/etc/localtime:ro
restart: unless-stopped
privileged: true
network_mode: host