Files
gitlab-instance-0a899031_cn…/.env.example
2026-06-07 22:50:42 -05:00

51 lines
1.4 KiB
Plaintext
Raw 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.
# ========== NomadCNA 环境变量示例(勿提交真实密钥) ==========
APP_ENV=development
NEXT_PUBLIC_APP_ENV=development
# PocketBase服务端
POCKETBASE_URL=http://127.0.0.1:8090
POCKETBASE_EMAIL=admin@example.com
POCKETBASE_PASSWORD=changeme
NEXT_PUBLIC_POCKETBASE_URL=http://127.0.0.1:8090
POCKETBASE_JOIN_COLLECTION=member_applications
# 支付
PAYMENT_API_URL=http://127.0.0.1:8000
PAYMENT_PROVIDER=zpay
PAYMENT_DEFAULT_AMOUNT=80
PAYMENT_DEFAULT_TYPE=meetup
PAYMENT_JOIN_AMOUNT=80
PAYMENT_JOIN_TYPE=meetup
ZPAY_PID=your_zpay_pid
ZPAY_KEY=your_zpay_key
ZPAY_SUBMIT_URL=https://zpayz.cn/submit.php
XORPAY_AID=your_xorpay_aid
XORPAY_SECRET=your_xorpay_secret
# MinIO 存储
MINIO_ENDPOINT=127.0.0.1
MINIO_PORT=9000
MINIO_USE_SSL=false
MINIO_BUCKET=nomadcna
MINIO_ACCESS_KEY=minioadmin
MINIO_SECRET_KEY=minioadmin
MINIO_REGION=china
MINIO_UPLOAD_PREFIX=uploads
NEXT_PUBLIC_MINIO_PUBLIC_URL=http://127.0.0.1:9000/nomadcna
# 站点
NEXT_PUBLIC_SITE_URL=http://localhost:3001
NEXT_PUBLIC_SITE_ID=nomadcna
NEXT_PUBLIC_API_BASE_URL=
# 视频会议与群聊
NEXT_PUBLIC_MIROTALK_URL=https://mirotalk.nomadro.cn
NEXT_PUBLIC_LOUNGE_URL=https://lounge.nomadro.cn
# FastAPI 代理(本地开发默认 127.0.0.1:8000
FASTAPI_PROXY_TARGET=http://127.0.0.1:8000
FRONTEND_ORIGINS=http://localhost:3001,http://127.0.0.1:3001
# 生产环境跨站 SSO本地不设置
# AUTH_COOKIE_DOMAIN=.nomadro.cn