Files
2026-10-22 18:12:25 +03:00

38 lines
1.7 KiB
Bash

# 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