I have just upgraded to NUC and trying to setup HA docker. Everything works fine until the NUC restarts, the moment it is up, access to the web interface of HA is gone although I can see the container is running and up-to-date.
I have tried restarting container multiple times but nothing helps.
Here is the
docker-compose file which I am using
version: '3.7' services: portainer: container_name: portainer restart: unless-stopped image: portainer/portainer volumes: - /home/piyush/HomeAutomation/portainer_data:/data - /var/run/docker.sock:/var/run/docker.sock network_mode: host homeassistant: container_name: home-assistant restart: unless-stopped image: homeassistant/home-assistant volumes: - /home/piyush/HomeAutomation/hass-config:/config - /etc/localtime:/etc/localtime:ro network_mode: host privileged: true
Please note that portainer works absolutely fine even after the host system restarts or recovers from a power failure.
Has anyone seen this before, any inputs would be highly appreciated.