Your Nextcloud volume command is probably not what you want since /var/lib/docker/volumes is the Docker internal path for where it stores named volumes. It’s highly unusual to reference it directly in your docker-compose
All of the {…} parameters need to be set in and provided by your runtime environment for the docker-compose. Without providing those we can’t really help since the docker-compose file is incomplete without them
The network config looks inappropriate
Have you considered starting with a simpler setup first in order to confirm things are function as expected when and that your understanding of the config versus your intended design is accurate? You can easily incrementally make adjustments in this way and then rebuild your stack via docker-compose until it is functioning exactly how you like. Just don’t put real data in until your incremental tweaking is done.
Thank you both for your replies!
Well I did put nextcloud as of now to the side because I do have some exams to do, but I am actually concerned about my security @jtr, and I did some research and stumbled across this fresh thread on the internet.
So does the directory filepath actually matter now?
Because I don’t really understand what Ákos Takács really means there.