Nginx proxy manager

Nginx proxy manager On Docker in just a few steps. If you have not checked out in deep water with docker start there for help with setting up Docker for the first time

HOW TO DOCKER

Adam Grunden

2/14/20241 min read

From root CLI Type: nano dockercompose.yml

inside of the file paste the below:

version: '3.8'

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

- ./letsencrpty:/etc/letsencrypt

depends_on:

- db

db:

image: 'jc21/mariadb-aria:latest'

restart: unless-stopped

environment:

MYSQL_ROOT_PASSWORD: 'npm'

MYSQL_DATABASE: 'npm'

MYSQL_USER: 'npm'

MYSQL_PASSWORD: 'npm'

MARIADB_AUTO_UPGRADE: '1'

volumes:

- ./mysql:/var/lib/mysql

Next press ctrl-o

save the file by pressing enter

press ctrl-x

now type in docker-compose up -d

Now go to your browser and type in http://localhost:81

If you are running your system remote type in the IP(for example) https://192.168.1.4:81

If you see something like what you see to the left. you did it next we will go over the cool stuff you can do with this fun container.

The default user name will be :

admin@example.com

The default password will be:

changeme