Add more documentetion

This commit is contained in:
2026-10-22 18:12:25 +03:00
parent 0870e7e7df
commit 346a9ed2e4
6 changed files with 1194 additions and 0 deletions
+38
View File
@@ -0,0 +1,38 @@
# Nginx Proxy Manager Docker Migration - Environment Configuration
# Copy this file to .env and fill in your values
# NEVER commit .env to version control!
# =============================================================================
# DATABASE TYPE
# =============================================================================
# sqlite: Default, simpler, no extra container needed
# mariadb: Better performance for high-traffic setups
DB_TYPE=sqlite
# =============================================================================
# MARIADB CREDENTIALS (Only required if DB_TYPE=mariadb)
# =============================================================================
# These must match what you used during restore or what exists in the backup
# DB_ROOT_PASS=changeme_strong_root_password_here
# DB_NAME=npm
# DB_USER=npm
# DB_PASS=changeme_strong_user_password_here
# =============================================================================
# NPM DATA DIRECTORY
# =============================================================================
# Host directory where NPM files will be stored (config, database, SSL certs)
NPM_DATA_DIR=/opt/npm/npm-data
# =============================================================================
# OPTIONAL: CONTAINER NAMES (Override if needed)
# =============================================================================
# DB_CONTAINER=npm-db
# NPM_CONTAINER=nginx-proxy-manager
# =============================================================================
# OPTIONAL: PORT SETTINGS (Override if ports 80/81/443 in use)
# =============================================================================
# HTTP_PORT=80
# ADMIN_PORT=81
# HTTPS_PORT=443