Nextcloud(docker) on Ubuntu with existing (native isntall) nginx setup

I host multiple websites on my server running Ubuntu 18.04.

I have nginx natively installed and running smoothly.

My question is two folds:

Is it possible to host a nextcloud instance on that same server and preferably using Docker?

The issue is that the NATIVE nginx service is already listening on the TCP 443, and serving websites store in /var/www/


The next thing that got me confused is:
- nextcloud:/var/www/html”
What I understood is that nextcloud would store the files in this directory(for persistancy), correct? If so, what happens to the already stored websites in both /var/www and /var/www/html?

Any help is appreciated. Cheers