Files
KatelyaTV/.env.vercel.example

63 lines
1.6 KiB
Bash
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# KatelyaTV Vercel 环境变量配置示例
# 复制此文件为 .env.local 并填入实际值
# ==============================================
# 基础配置(必填)
# ==============================================
# 访问密码(必填)
PASSWORD=your_secure_password_here
# 管理员用户名(可选,用于管理界面登录)
USERNAME=admin
# ==============================================
# 存储配置
# ==============================================
# 存储类型:localstorage(默认)/ redis / upstash / d1
NEXT_PUBLIC_STORAGE_TYPE=localstorage
# ==============================================
# Upstash Redis 配置(选择 upstash 存储时需要)
# ==============================================
# Upstash Redis 连接 URL
# UPSTASH_URL=https://xxx.upstash.io
# Upstash Redis 访问令牌
# UPSTASH_TOKEN=AX_xxx
# ==============================================
# Redis 配置(选择 redis 存储时需要)
# ==============================================
# Redis 连接字符串
# REDIS_URL=redis://localhost:6379
# ==============================================
# 站点配置(可选)
# ==============================================
# 站点显示名称
NEXT_PUBLIC_SITE_NAME=KatelyaTV
# 站点描述
NEXT_PUBLIC_SITE_DESCRIPTION=高性能影视播放平台
# 是否允许用户注册(true/false)
NEXT_PUBLIC_ENABLE_REGISTER=false
# ==============================================
# 高级配置(可选)
# ==============================================
# 跨域配置
# CORS_ORIGIN=*
# 启用访问统计(true/false
# ENABLE_ANALYTICS=false
# Node.js 运行时优化
# NODE_OPTIONS=--max-old-space-size=1024