Implementation Guide
Step 1: Install Nginx Proxy Manager
- First, you need to create a directory containing the project and create a docker-compose.yml file for Nginx Proxy Manager with the following commands in turn:
mkdir /home/nginxproxymanager cd /home/nginxproxymanager nano docker-compose.yml
Enter the content below and save it.
version: '3'
services:
app:
image: 'jc21/nginx-proxy-manager:latest'
restart: unless-stopped
ports:
- '80:80'
- '81:81'
- '443:443'
environment:
DB_MYSQL_HOST: "db"
DB_MYSQL_PORT: 3306
DB_MYSQL_USER: "npm"
DB_MYSQL_PASSWORD: "npm"
DB_MYSQL_NAME: "npm"
volumes:
- ./data:/data
- ./letsencrypt:/etc/letsencrypt
db:
image: 'jc21/mariadb-aria:latest'
restart: unless-stopped
environment:
MYSQL_ROOT_PASSWORD: 'npm'
MYSQL_DATABASE: 'npm'
MYSQL_USER: 'npm'
MYSQL_PASSWORD: 'npm'
volumes:
- ./data/mysql:/var/lib/mysql
- Enable Nginx Proxy Manager
docker-compose up -d
After successful activation, you will see the result as shown below:
Step 2: Access WebUI
- You can access Nginx Proxy Manager’s Web UI by following the link:
http://IP-Address:81
- Use the default information below to login:
Email: [email protected]
Password: changeme
After successfully logging in, you will see an interface with a popup to fill in Full Name, Nickname, Email and Password information.
Leave A Comment?