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).
You also have to create the config.json file like described on the site. In the json file following lines must be entered:
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".
After downloading goto image and select the downloaded image and click launch button:
Give your container the name you want to give or leave it default and then click on advanced settings:
Next screen: enable autostart
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:
Network is bridge.
Ports outside container you have to choose:
Then make a link with your database: select the database container and give it an alias name: example db
Environment: add "DISABLE_IPV6:true" if you don't use ipv6.
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.
You also have to create the config.json file like described on the site. In the json file following lines must be entered:
Code:
{
"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".
After downloading goto image and select the downloaded image and click launch button:
Give your container the name you want to give or leave it default and then click on advanced settings:
Next screen: enable autostart
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:
Network is bridge.
Ports outside container you have to choose:
Then make a link with your database: select the database container and give it an alias name: example db
Environment: add "DISABLE_IPV6:true" if you don't use ipv6.
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.