Setup Nextcloud to be accessible from outside network on ASUSTOR NAS?

So I have a ASUSTOR NAS with Nextcloud on Docker.
I am writing a little Flutter app to take and upload images to and from Nextcloud locally which works fine. but I want my app to be able to upload and download from any network, as I plan to deploy this to a good amount (30) of people (like my family)

I am a total networking noob and I have no idea how to make my Nextcloud IP accessible through the internet

All the guides I found are either using paid vm services or local machines, which I don’t want to do since I got a NAS already

You need

  • DynDNS service (e. g. free)
  • domain, subdomain (optional)
  • Lets Encrypt certificate (free)
  • port forwarding on router (port 80, 443) to NAS
  • new virtual host (80, 443) for DynDNS or domain, subdomain on your NAS

Find it in the internet.