services: homeassistant: container_name: homeassistant image: ghcr.io/home-assistant/home-assistant:stable network_mode: host volumes: - /home/nik/homeassistant/config:/config - /etc/localtime:/etc/localtime:ro restart: unless-stopped privileged: true