Files
tyapi-server/configs/env.production.yaml

33 lines
859 B
YAML

# 🏭 生产环境配置
# 只包含与默认配置不同的配置项
# ===========================================
# 🌍 环境标识
# ===========================================
app:
env: production
# ===========================================
# 🌐 服务器配置
# ===========================================
server:
mode: release
# ===========================================
# 🗄️ 数据库配置
# ===========================================
# 敏感信息通过外部环境变量注入
database:
sslmode: require
# ===========================================
# 📝 日志配置
# ===========================================
logger:
level: warn
format: json
# ===========================================
# 🔐 JWT配置
# ===========================================
# JWT_SECRET 必须通过外部环境变量注入