npm ci ignores registry config when lockfile points at registry.npmjs.org; rewrite resolved URLs to mirror.iranserver.com before install. Co-authored-by: Cursor <cursoragent@cursor.com>
21 lines
526 B
Bash
21 lines
526 B
Bash
# Local / host Prisma
|
|
DATABASE_URL="postgresql://fabric:fabric123@localhost:5432/fabric_trade?schema=public"
|
|
|
|
# Docker Compose
|
|
POSTGRES_USER=fabric
|
|
POSTGRES_PASSWORD=fabric123
|
|
POSTGRES_DB=fabric_trade
|
|
POSTGRES_PORT=5432
|
|
API_PORT=3000
|
|
RUN_SEED=false
|
|
# مخزن npm ایرانی برای بیلد Docker
|
|
NPM_REGISTRY=https://mirror.iranserver.com/npm/
|
|
# اگر Bake/buildx ارور داد:
|
|
COMPOSE_BAKE=false
|
|
|
|
JWT_SECRET="fabric-trade-dev-secret-change-me"
|
|
JWT_EXPIRES_IN="7d"
|
|
PORT=3000
|
|
MOCK_OTP_CODE="123456"
|
|
OTP_TTL_MINUTES=5
|