24 lines
834 B
Bash
24 lines
834 B
Bash
# Environment template — copy to apps/api/.env for local dev
|
|
DATABASE_URL="postgresql://mento:mento@localhost:5432/mento_crm?schema=public"
|
|
JWT_SECRET="change-me-in-production-use-long-random-string"
|
|
JWT_EXPIRES_IN="7d"
|
|
PORT=3000
|
|
CORS_ORIGIN="http://localhost:5173"
|
|
UPLOAD_DIR="./uploads"
|
|
|
|
# Portal OTP: در لوکال معمولاً true تا کد در پاسخ بیاید
|
|
PORTAL_SHOW_OTP=true
|
|
# AUTH_RETURN_OTP=true
|
|
|
|
# SMS — پنل ترِز / رایگان (مثل montime). اختیاری در لوکال اگر PORTAL_SHOW_OTP=true
|
|
SMS_PROVIDER=trez
|
|
SMS_USERNAME=
|
|
SMS_PASSWORD=
|
|
SMS_SENDER=
|
|
# SMS_BASE_URL=http://smspanel.Trez.ir
|
|
# SMS_SEND_PATH=/SendMessageWithCode.ashx
|
|
# SMS_OTP_TEMPLATE=کد ورود پرتال منتو: {code}
|
|
# SMS_TIMEOUT_MS=20000
|
|
|
|
# Production: see deploy/.env.production.example and deploy/DEPLOY.md
|