networks: default: external: name: npm-network services: homeassistant: image: ghcr.io/home-assistant/home-assistant:stable container_name: home-assistant volumes: - /srv/home-assistant:/config - /etc/localtime:/etc/localtime:ro environment: - PUID=1000 - PGID=1000 - TZ=America/New_York - VIRTUAL_HOST=homeassistant.kolpacksoftware.com - VIRTUAL_PORT=8123 - LETSENCRYPT_HOST=homeassistant.kolpacksoftware.com restart: unless-stopped privileged: true