Initialize the API and add managed app banners.
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -0,0 +1,38 @@
|
||||
# این فایل فقط روی سرور/لوکال میماند و داخل گیت commit نمیشود.
|
||||
# ایمیج Docker سکرت ندارد؛ همه تنظیمات از اینجا خوانده میشود.
|
||||
|
||||
POSTGRES_USER=fabric
|
||||
POSTGRES_PASSWORD=fabric123
|
||||
POSTGRES_DB=fabric_trade
|
||||
POSTGRES_PORT=5432
|
||||
|
||||
# برای ابزارهای روی خود سرور (خارج از Docker)
|
||||
DATABASE_URL=postgresql://fabric:fabric123@localhost:5432/fabric_trade?schema=public
|
||||
|
||||
API_PORT=8585
|
||||
PORT=3000
|
||||
# پشت LiteSpeed با URI=/server این را بگذار:
|
||||
GLOBAL_PREFIX=server/api
|
||||
API_IMAGE=fabric-trade-api:latest
|
||||
RUN_SEED=false
|
||||
|
||||
JWT_SECRET=change-me-to-a-long-random-string
|
||||
JWT_EXPIRES_IN=7d
|
||||
MOCK_OTP_CODE=1234
|
||||
OTP_TTL_MINUTES=5
|
||||
|
||||
# پیامک OTP (مثل آبشده خانگی — rayegansms / createsms)
|
||||
SMS_ENABLED=true
|
||||
SMS_API_URL=http://185.231.112.101/api/createsms
|
||||
SMS_SECRET_KEY=your-sms-secret-key
|
||||
SMS_PLATFORM=rayegansms
|
||||
SMS_HOST=پارچه
|
||||
SMS_APP_NAME=پارچه
|
||||
|
||||
# سقف حجم بدنه JSON (تصاویر چک و رسید base64 هستند)
|
||||
BODY_LIMIT=25mb
|
||||
TZ=Asia/Tehran
|
||||
NODE_ENV=production
|
||||
|
||||
NPM_REGISTRY=https://registry.npmmirror.com
|
||||
COMPOSE_BAKE=false
|
||||
Reference in New Issue
Block a user