Nextcloud AIO install docker local only

Hello,

I am migrating all my TrueNAS Scale apps over to docker and portainer. In that process one app was giving me trouble which is NextCloud. I was mainly following the guide that Wendell already has up that goes into detail. The only thing that gave me pause because I am not to knowledgeable about databases. Why did Wendell leave the Maria database set to a specific version? I know latest can break things but isn’t that also better for security?

In researching I found they now have NextCloud AIO that seems great that I want to install. However I’m hitting the issue of needing a local domain. I only need local access since I have Tailscale setup already and I don’t want to pay for a domain. Can I just use the IP of the portainer VM that has Nextcloud on it?

I want to setup pihole one day. Should I just do that then I think I read I can create a domain there that would only work locally.

What’s the best way I should proceed?

Thanks anybody that can help.

I did it with the DB container, the App container and another for Cron, works great. Go here and search for Nextcloud. Maybe that will help?

You can probably just spoof it with a local dns and a self signed cert

Yes, if you are just using http

Https (aka SSL/TLS encrypted http) requires a certificate, and those are not supposed to be issued for IP addresses, but only for domains.

I think it is possible to create a self-signed certificate for an IP address, but then you are into dealing with installing/trusting that certificate on all devices accessing Nextcloud.

Yes and no.
If an older version is still getting security updates, then it often would be very similar security wise compared to the latest. If it is not getting security updates, then it would not be as secure. However, if the database is not directly network accessible, and Nextcloud is only accessible in your home LAN, the risk of using an older version is very very low.