# Piwigo Docker Migration - Environment Configuration # Copy this file to .env and fill in your values # NEVER commit .env to version control! # ============================================================================= # DATABASE CREDENTIALS (Required) # ============================================================================= # These must match what you used during restore or what exists in the backup DB_ROOT_PASS=changeme_strong_root_password_here DB_NAME=piwigo DB_USER=piwigo DB_PASS=changeme_strong_user_password_here # ============================================================================= # PIWIGO DATA DIRECTORY # ============================================================================= # Host directory where Piwigo files will be stored (uploads, config, galleries) PIWIGO_DATA_DIR=/opt/piwigo/piwigo-data # ============================================================================= # OPTIONAL: INITIAL ADMIN USER (Only used on fresh database install) # ============================================================================= # If restoring from backup, these are ignored (existing users preserved) # PIWIGO_ADMIN_USER=admin # PIWIGO_ADMIN_PASS=changeme_admin_password # PIWIGO_ADMIN_EMAIL=admin@example.com # ============================================================================= # OPTIONAL: PHP SETTINGS (Adjust for large uploads) # ============================================================================= # PHP_MEMORY_LIMIT=256M # PHP_MAX_EXECUTION_TIME=300 # PHP_UPLOAD_MAX_FILESIZE=100M # PHP_POST_MAX_SIZE=100M # ============================================================================= # OPTIONAL: CONTAINER NAMES (Override if needed) # ============================================================================= # DB_CONTAINER=piwigo-db # PIWIGO_CONTAINER=piwigo # ============================================================================= # OPTIONAL: NETWORK/PORT SETTINGS # ============================================================================= # PIWIGO_PORT=8080 # Host port for Piwigo web UI