Nginx Proxy Manager provides a straightforward and powerful web interface for managing Nginx proxy hosts. It allows you to easily expose web services running on your private network to the internet, all while prioritizing security. The configuration process is simplified through a clean and intuitive dashboard, removing the complexity of manual Nginx configuration.
This tool is packed with features designed for convenience and security:
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: '${DB_MYSQL_USER}'
DB_MYSQL_PASSWORD: '${DB_MYSQL_PASSWORD}'
DB_MYSQL_NAME: '${DB_MYSQL_NAME}'
volumes:
- ./data:/data
- ./letsencrypt:/etc/letsencrypt
depends_on:
- db
db:
image: 'jc21/mariadb-aria:latest'
restart: unless-stopped
environment:
MYSQL_ROOT_PASSWORD: '${MYSQL_ROOT_PASSWORD}'
MYSQL_DATABASE: '${DB_MYSQL_NAME}'
MYSQL_USER: '${DB_MYSQL_USER}'
MYSQL_PASSWORD: '${DB_MYSQL_PASSWORD}'
volumes:
- ./mysql-data:/var/lib/mysqlDB_MYSQL_USER=npm_user
DB_MYSQL_PASSWORD=your_super_secret_password
DB_MYSQL_NAME=npm_database
MYSQL_ROOT_PASSWORD=your_super_secret_root_passwordAuto-fetched about 20 hours ago
Auto-fetched about 20 hours ago