Files
FunConnect/server/.env.example

15 lines
393 B
Plaintext
Raw Normal View History

# FunMC 主服务端环境配置
# 复制此文件为 .env 并修改配置
# 数据库连接
DATABASE_URL=postgres://postgres:password@localhost/funmc
# JWT 密钥(必须与客户端和中继服务器保持一致)
JWT_SECRET=your-super-secret-jwt-key-change-this-in-production
# HTTP API 监听地址
LISTEN_ADDR=0.0.0.0:3000
# 日志级别
RUST_LOG=funmc_server=debug,tower_http=info