Keep secrets out of the image; only override DATABASE_URL host for the Docker network. Co-authored-by: Cursor <cursoragent@cursor.com>
24 lines
714 B
Bash
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
|