Resource icon

Docker Install nginx-proxy-manager

In this resource I will show you how to install the "Niginx-Proxy-Manager" docker container on synology. For this container we need also a working mariadb/mysql database. This database install is not included in this installation process. This you have to do before. When the database-server is running you have to create a empty database for NPM (my example is npm).

Screenshot 2020-04-24 at 14.22.21.png

You also have to create the config.json file like described on the site. In the json file following lines must be entered:
  "database": {
    "engine": "mysql",
    "host": "db",
    "name": "npm", name of the database
    "user": "npm",  user name database ex. root
    "password": "npm", password of this user.
    "port": 3306

Create a folder nginx-proxy-manager in the docker shared folder and copy the .json in this folder.

Then from your docker app in synology goto registry and download the image "jc21/nginx-proxy-manager".

Screenshot 2020-04-24 at 14.24.18.png

After downloading goto image and select the downloaded image and click launch button:

Screenshot 2020-04-24 at 14.25.47.png

Give your container the name you want to give or leave it default and then click on advanced settings:

Screenshot 2020-04-24 at 14.27.05.png

Next screen: enable autostart

Screenshot 2020-04-24 at 14.32.48.png

Next: screen: create volumes
Start with add file and select here the json file you have created:
Then make the two other folders with "add folder" button. Your screen must look like this:

Screenshot 2020-04-24 at 14.36.57.png

Network is bridge.
Screenshot 2020-04-24 at 14.37.22.png

Ports outside container you have to choose:

Screenshot 2020-04-24 at 14.38.16.png

Then make a link with your database: select the database container and give it an alias name: example db

Screenshot 2020-04-24 at 14.39.28.png

Environment: add "DISABLE_IPV6:true" if you don't use ipv6.

Screenshot 2020-04-24 at 14.41.20.png

Click apply -> next -> apply to start to create and start the container.
Then surf to http(s)://nas-ip:portnumber to open the configuration.

Default Administrator User
Email: [email protected]
Password: changeme

I did not check how to setup letsencrypt or any other ssl certificate.

Similar resources

0.00 star(s) 0 ratings
Paperless-ng is an application which takes your scanned documents and makes them searchable via OCR
5.00 star(s) 2 ratings
Following initial install of Vaultwarden, suggestions for helping to secure it.
0.00 star(s) 0 ratings
NAS Remote Access for Newbies: Part 2 - Port 443 & Reverse Proxy NAS Newbie
A discussion of port selection & Reverse Proxy from a newbie perspective
0.00 star(s) 0 ratings
NAS Remote Access for Newbies: Part 3 - Accessing Mobile Apps via Reverse Proxy NAS Newbie
A discussion of mobile app access via reverse proxy from a newbie perspective
0.00 star(s) 0 ratings
NAS Remote Access for Newbies: Part 4 - Reverse Proxy for Multiple NAS on a Single LAN NAS Newbie
A discussion on how to configure multiple NAS on LAN from a newbie perspective
0.00 star(s) 0 ratings
Synology Reverse Proxy Rusty
Tutorial on setting up revers proxy for various apps and services hosted on your NAS via built in RP
5.00 star(s) 6 ratings