Files
fabric_trade_server/.env.example
T
mohmdsdgandCursor 1b249e0b57 Load runtime config from server .env via compose env_file
Keep secrets out of the image; only override DATABASE_URL host for the Docker network.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-05 21:29:21 +03:30

24 lines
714 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=3000
PORT=3000
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