Create the DockerCompose-File
We create a new folder called “nginx-proxy-manager” in /opt/stacks.
mkdir nginx-proxy-managerWe will now create our docker-compose.yml file in it. We open this straight away with the command “nano” or “vim”
cd nginx-proxy-manager/nano docker-compose.ymlYou can see what is written there from my docker compose file.
I have also written explanations there as a comment for the individual points that you can change.