Hello there,
I am new to Docker and I am looking to set up Nextcloud on my home server using Docker containers. I have been exploring various tutorials and guides; but I would greatly appreciate some advice from those experienced with Docker and Nextcloud deployments.
What should an optimal docker-compose.yml file look like for running Nextcloud with Docker? Are there any specific configurations or best practices I should follow?
How do you manage persistent storage for Nextcloud in Docker? Should I use Docker volumes or bind mounts, and what are the advantages of each approach?
What are some essential security practices I should implement to secure my Nextcloud installation running in Docker? Are there specific Docker configurations or network settings I should be aware of?
What backup strategies do you recommend for Nextcloud data when using Docker? Are there any Docker-specific tools or scripts that simplify the backup process?
Also, I have gone through this post; https://discourse.linuxserver.io/t/missed-a-nextcloud-version-and-now-i-can-access-files-how-to-update-file-version-aws-devops/ which definitely helped me out a lot.
I have already set up Docker on my server and have basic familiarity with Docker commands. However, I am keen to learn from your experiences and suggestions to ensure a stable and secure setup for Nextcloud.
Thank you in advance for your help and assistance.