Thanks to all the great information on this form, I was successfully able to get Nextcloud up and running in Docker using Duckdns and Letsencrpyt. However, this configuration exposes ports 80 and 443 on my server to the Internet. The way I intend to use Nextcloud there is no reason for even taking a chance having my server on the Internet. Is there a way to setup nextcloud so that it is only available locally and not exposed to the internet?
Any information or help would certainly be appreciated.