Skip to content

Create the DockerCompose-File

We create a new folder called “nginx-proxy-manager” in /opt/stacks.

mkdir nginx-proxy-manager

We 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.yml

You 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.