Add more documentetion
This commit is contained in:
@@ -0,0 +1,57 @@
|
||||
# Nextcloud 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_TYPE=postgresql # postgresql or mariadb
|
||||
DB_ROOT_PASS=changeme_strong_root_password_here
|
||||
DB_NAME=nextcloud
|
||||
DB_USER=nextcloud
|
||||
DB_PASS=changeme_strong_user_password_here
|
||||
|
||||
# =============================================================================
|
||||
# NEXTCLOUD DATA DIRECTORY
|
||||
# =============================================================================
|
||||
# Host directory where Nextcloud files will be stored (data, config, custom_apps)
|
||||
NEXTCLOUD_DATA_DIR=/opt/nextcloud/nextcloud-data
|
||||
|
||||
# =============================================================================
|
||||
# TRUSTED DOMAINS (CRITICAL - Nextcloud will reject requests without this)
|
||||
# =============================================================================
|
||||
# Comma-separated, no spaces. Include all domains/IPs you'll use to access Nextcloud
|
||||
# Examples:
|
||||
# NEXTCLOUD_TRUSTED_DOMAINS=localhost
|
||||
# NEXTCLOUD_TRUSTED_DOMAINS=cloud.example.com,localhost
|
||||
# NEXTCLOUD_TRUSTED_DOMAINS=cloud.example.com,192.168.1.100,localhost
|
||||
NEXTCLOUD_TRUSTED_DOMAINS=localhost
|
||||
|
||||
# =============================================================================
|
||||
# OPTIONAL: INITIAL ADMIN USER (Only used on fresh database install)
|
||||
# =============================================================================
|
||||
# If restoring from backup, these are ignored (existing users preserved)
|
||||
# NEXTCLOUD_ADMIN_USER=admin
|
||||
# NEXTCLOUD_ADMIN_PASSWORD=changeme_admin_password
|
||||
# NEXTCLOUD_ADMIN_EMAIL=admin@example.com
|
||||
|
||||
# =============================================================================
|
||||
# OPTIONAL: PHP SETTINGS (Adjust for large uploads)
|
||||
# =============================================================================
|
||||
# PHP_MEMORY_LIMIT=512M
|
||||
# PHP_MAX_EXECUTION_TIME=300
|
||||
# PHP_UPLOAD_MAX_FILESIZE=10G
|
||||
# PHP_POST_MAX_SIZE=10G
|
||||
|
||||
# =============================================================================
|
||||
# OPTIONAL: CONTAINER NAMES (Override if needed)
|
||||
# =============================================================================
|
||||
# DB_CONTAINER=nextcloud-db
|
||||
# NEXTCLOUD_CONTAINER=nextcloud
|
||||
# REDIS_CONTAINER=nextcloud-redis
|
||||
|
||||
# =============================================================================
|
||||
# OPTIONAL: NETWORK/PORT SETTINGS
|
||||
# =============================================================================
|
||||
# NEXTCLOUD_PORT=8080 # Host port for Nextcloud web UI
|
||||
Reference in New Issue
Block a user