Files
fabric_trade_server/.env.example
T
mohmdsdgandCursor b121797263 Support LiteSpeed /server path via GLOBAL_PREFIX
Allow Nest prefix server/api and overlay dist from git onto the deploy bundle so proxy paths match without a full retar.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-06 09:55:57 +03:30

26 lines
799 B
Bash

# این فایل فقط روی سرور/لوکال می‌ماند و داخل گیت 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=123456
OTP_TTL_MINUTES=5
NPM_REGISTRY=https://registry.npmmirror.com
COMPOSE_BAKE=false