Files
liandong-crm/.env.example
T

13 lines
552 B
Bash
Raw Normal View History

# 腾讯云自建 MySQL(Prisma 直连)
DATABASE_URL="mysql://crm_dev:PASSWORD@124.223.187.95:3306/crm_dev"
# Auth.js 会话加密密钥:openssl rand -base64 32
AUTH_SECRET="please-run-openssl-rand-base64-32"
# 本地开发不要设置 AUTH_URL,否则打开 localhost 会被跳到该地址。
# 生产必须设为浏览器可访问的地址(真实域名或公网 IP),
# 切勿写成监听地址 0.0.0.0,否则登录/退出会跳到 http://0.0.0.0:端口
# AUTH_URL="https://crm.yourdomain.com"
# AUTH_URL="http://124.223.187.95:3100"