Deploy Nginx Proxy Manager Through Docker
compose.yaml file with the following content:
version: '3.8' services: app: image: 'jc21/nginx-proxy-manager:2.10.4' restart: unless-stopped ports: - '80:80' - '81:81' - '443:443' volumes: - ./data:/data - ./letsencrypt:/etc/letsencrypt
Then run the following to start the service in the background:
docker-compose up -d
Now navigate to your server's IP address on port 81, and enter the default credentials, which are:
- username: email@example.com
- password: changeme
You will then be immediately prompted to change the username and password through the web UI.
Because we have configured volumes, all state will be retained/restored even after removing the Docker containers.
First published: 12th April 2023