mirror of
https://github.com/rustfs/console.git
synced 2026-08-28 19:47:21 +08:00
chore: add .env.example for environment configuration template
This commit is contained in:
@@ -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=
|
||||
@@ -32,6 +32,7 @@ yarn-error.log*
|
||||
|
||||
# env files (can opt-in for committing if needed)
|
||||
.env*
|
||||
!.env.example
|
||||
|
||||
# vercel
|
||||
.vercel
|
||||
|
||||
Reference in New Issue
Block a user