Nginx Proxy Manager¶
Description¶
Nginx Proxy Manager is a Docker container for managing Nginx proxy hosts and SSL Certificates with a simple, powerful interface.
Install/Setup¶
Config File¶
Nginx Proxy Manager requires a Configuration file named config.json
. This file needs to be in the appdata folder for NPM before it is started.
{
"database": {
"engine": "mysql",
"host": "db",
"name": "npm",
"user": "npm",
"password": "npm",
"port": "3306"
}
}
Example Docker Compose Override¶
services:
proxymanager:
image: jc21/nginx-proxy-manager:latest
container_name: proxymanager
logging:
driver: json-file
options:
max-file: ${DOCKERLOGGING_MAXFILE}
max-size: ${DOCKERLOGGING_MAXSIZE}
ports:
- "80:80"
- "81:81"
- "443:443"
restart: unless-stopped
volumes:
- ${DOCKERCONFDIR}/proxymanager/config.json:/app/config/config.json
- ${DOCKERCONFDIR}/proxymanager/data:/data
- ${DOCKERCONFDIR}/proxymanager/letsencrypt:/etc/letsencrypt
- ${DOCKERSTORAGEDIR}:/storage
Last update: May 28, 2023
Created: June 21, 2020
Created: June 21, 2020