# ============================================ # LinkEmby Environment Configuration # ============================================ # -------------------------------------------- # Docker Configuration # -------------------------------------------- # GitHub raw content proxy (for China mainland users) # Default: (empty - direct access) # China mainland: https://ghfast.top/ GH_PROXY= # Docker Hub registry proxy (for China mainland users) # Default: docker.io (official registry) # China mainland: docker.m.daocloud.io DOCKER_PROXY=docker.io # GitHub Container Registry proxy (for China mainland users) # Default: ghcr.io (official registry) # China mainland: ghcr.nju.edu.cn GHCR_PROXY=ghcr.io # LinkEmby version (Docker image tag) # Used to specify which version to deploy LINKEMBY_VERSION=v0.2.6 # -------------------------------------------- # Database Configuration # -------------------------------------------- POSTGRES_USER=linkemby POSTGRES_PASSWORD=WILL_BE_AUTO_GENERATED POSTGRES_DB=linkemby POSTGRES_PORT=5432 # Database connection URL (auto-generated by install script) # Format: postgresql://user:password@host:port/database DATABASE_URL=postgresql://${POSTGRES_USER}:${POSTGRES_PASSWORD}@postgres:5432/${POSTGRES_DB} # -------------------------------------------- # Redis Configuration # -------------------------------------------- REDIS_PASSWORD=WILL_BE_AUTO_GENERATED REDIS_PORT=6379 REDIS_URL=redis://:${REDIS_PASSWORD}@redis:6379 # -------------------------------------------- # Application Configuration # -------------------------------------------- # External access URL (update this to your domain or server IP) NEXTAUTH_URL=http://localhost:3000 # Application port (default: 3000) LINKEMBY_PORT=3000 # Node environment NODE_ENV=production NEXT_TELEMETRY_DISABLED=1 # -------------------------------------------- # Security Keys (AUTO-GENERATED by install.sh) # -------------------------------------------- # NextAuth secret key (base64, 32 bytes) # Will be automatically generated during installation NEXTAUTH_SECRET=WILL_BE_AUTO_GENERATED # Encryption key (hex, 32 chars) # Will be automatically generated during installation ENCRYPTION_KEY=WILL_BE_AUTO_GENERATED # Encryption IV (hex, 16 chars) # Will be automatically generated during installation ENCRYPTION_IV=WILL_BE_AUTO_GENERATED # Cron job authentication secret # Will be automatically generated during installation CRON_SECRET=WILL_BE_AUTO_GENERATED # -------------------------------------------- # Logging Configuration # -------------------------------------------- # Log level: error, warn, info, http, verbose, debug, silly LOG_LEVEL=info # Enable file logging (true/false) LOG_TO_FILE=true # Log file storage path LOG_FILE_PATH=/app/data/logs # -------------------------------------------- # Application Settings # -------------------------------------------- # Order timeout in minutes ORDER_TIMEOUT_MINUTES=10 # Email templates storage path EMAIL_TEMPLATES_PATH=/app/data/email-templates # File upload storage path UPLOAD_PATH=/app/data/uploads