# Base application configuration NODE_ENV=development # Public URLs APP_PUBLIC_URL=https://your-domain.example.com NEXTAUTH_URL=https://your-domain.example.com NEXTAUTH_SECRET=replace-with-strong-secret # Database settings DATABASE_URL=postgresql://username:password@host:5432/database # Object storage (S3 compatible) STORAGE_PROVIDER=s3 S3_ENDPOINT=https://s3.example.com S3_BUCKET=your-bucket S3_ACCESS_KEY_ID=your-access-key S3_SECRET_ACCESS_KEY=your-secret-key S3_REGION=us-east-1 S3_PUBLIC_DOMAIN=https://s3.example.com/your-bucket S3_FILE_PATH=materials/ S3_ENV_PREFIX= # Vector database (optional) VECTOR_DB=pgvector PGVECTOR_DB_URL= # DingTalk login (optional) DINGTALK_CLIENT_ID= DINGTALK_CLIENT_SECRET= NEXT_PUBLIC_DINGTALK_CALLBACK_URL= # Frontend display NEXT_PUBLIC_DEFAULT_HEADER_LOGO_URL= NEXT_PUBLIC_DEFAULT_LOGIN_LOGO_URL= NEXT_PUBLIC_INTRANET_URL= NEXT_PUBLIC_PORTAL_BASE_URL= NEXT_PUBLIC_PUBLIC_DOMAINS=portal.example.com PUBLIC_DOMAINS=portal.example.com # CORS and image whitelist ALLOWED_ORIGINS=https://portal.example.com IMAGE_REMOTE_HOSTS=s3.example.com # AI model (optional) GEMINI_API_KEY= GEMINI_API_BASE_URL=https://api.huandutech.com/v1 GEMINI_MODEL=gemini-2.0-flash-exp # Append other custom variables below