chore: add .env.example for environment configuration template

This commit is contained in:
overtrue
2026-02-01 21:53:33 +08:00
parent f9966dc0f2
commit 84d00c5191
2 changed files with 21 additions and 0 deletions
+20
View File
@@ -0,0 +1,20 @@
# Base path for the console application (used in Next.js routing)
NEXT_PUBLIC_BASE_PATH=/rustfs/console
# Server host (e.g. https://your-server.com)
# Used to derive API base URL when NEXT_PUBLIC_API_BASE_URL is not set
NEXT_PUBLIC_SERVER_HOST=
# API base URL (optional, defaults to ${NEXT_PUBLIC_SERVER_HOST}/rustfs/admin/v3)
# NEXT_PUBLIC_API_BASE_URL=
# S3 configuration
NEXT_PUBLIC_S3_ENDPOINT=
NEXT_PUBLIC_S3_REGION=us-east-1
# Session duration in seconds (optional)
# NEXT_PUBLIC_SESSION_DURATION_SECONDS=
# Release info (optional, can be fetched from server)
# NEXT_PUBLIC_VERSION=
# NEXT_PUBLIC_RELEASE_DATE=
+1
View File
@@ -32,6 +32,7 @@ yarn-error.log*
# env files (can opt-in for committing if needed)
.env*
!.env.example
# vercel
.vercel