Need help on how to setup nextcloud docker properly without docker compose

Can anyone help me setup nextcloud using regular docker using postgres as its db. i know theres docker compose but i want to try out on how to install nextcloud without using docker compose
also after i setup nextcloud using regular docker how properly delete all the data it created. reason being i might try and learn docker compose next

Hi @anthony001

Did you look at the official documentation? It covers both, Docker Compose and “regular” Docker.

yes but it didnt have clear instruction on how to install postgresql db

Sorry can’t help with detailed instructions because im neither using Postgresql nor Docker myself with Nextcloud. But as far as I understand it you have to spin up a separate postgres container and create the database as described here and then connect Nextcloud to it using the environment variables as described here