Nextcloud AIO in localhost with Caddy

Hi, I am trying to install nextcloud AIO to be available only via lan, I used this guide ( GitHub - abelncm/nextcloud-aio-local-docker-compose: Run Nextcloud AIO in your localhost ), but when I go to open nextcloud to the local.docs domain, after I configure it, the page doesn’t open, it gives me connection error, how can I solve it? thank you very much