####homeassistant docker-compose.yaml
version: '3'
services:
hass:
container_name: homeassistant
image: homeassistant/home-assistant:latest
network_mode: host
volumes:
- ./config:/config
ports:
- 8123:8123
restart: always