Files
tehran_tala/apps/api/.env.example
T

14 lines
646 B
Bash
Raw Normal View History

2026-09-09 06:46:27 +03:30
DATABASE_URL="postgresql://postgres:postgres@localhost:5432/gold_bank?schema=public"
# Must match API_PORT in the repo-root .env (source of truth for all dev
# ports). NestJS/Prisma only load .env from this app's own directory, so this
# value is kept in sync manually rather than read from the root file.
2026-09-09 06:46:27 +03:30
PORT=3000
# Customer app sessions (security hotfix stage 2).
# Separate from JWT_SECRET so an admin token can never validate as a customer
# token. Falls back to JWT_SECRET, then to a dev-only string, when unset.
JWT_CUSTOMER_SECRET=
# Customer token lifetime. The reference issued a token that never expired.
JWT_CUSTOMER_EXPIRES_IN=30d