Provide backend for admin and user apps with Postgres, migrations, seed data, and docker-compose for LiteSpeed reverse-proxy deployment. Co-authored-by: Cursor <cursoragent@cursor.com>
17 lines
368 B
Bash
17 lines
368 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
|
|
|
|
JWT_SECRET="fabric-trade-dev-secret-change-me"
|
|
JWT_EXPIRES_IN="7d"
|
|
PORT=3000
|
|
MOCK_OTP_CODE="123456"
|
|
OTP_TTL_MINUTES=5
|