Files
rustfs-console/.env.example
T

28 lines
987 B
Bash

# 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=
# Reverse-proxy support: when set, all S3 / admin / STS requests are sent
# with this prefix on the wire, while SigV4 signs the un-prefixed path.
# A reverse proxy in front of rustfs must strip this prefix before
# forwarding (e.g. nginx `rewrite ^/rustfs/api/(.*) /$1 break;`).
# Leave empty (default) for direct deployments.
# NEXT_PUBLIC_API_PREFIX=/rustfs/api
# 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=