NextCloudAIO + docker portainer installation trouble

Personally, I don’t really recommend using Portainer to run the Nextcloud AIO Docker.

I use Nextcloud AIO + NGINX proxy (on an Ubuntu server).

Create a directory on your disk, for example, nextcloud-aio, and within it, create a file called docker-compose.yml.
Copy the content from the link I’m sharing into this file:

Then, start the Docker with the command, depending on the version of docker compose you have installed:

docker-compose up -d

or

docker compose up -d