18 lines
646 B
Bash
18 lines
646 B
Bash
# Database configuration
|
|
POSTGRES_USER=postgres
|
|
POSTGRES_PASSWORD=postgres
|
|
POSTGRES_DB=goldbank
|
|
|
|
# Host port exposed for PostgreSQL (used by docker-compose db service)
|
|
EXTERNAL_DB_PORT=5432
|
|
|
|
# Prisma connection string (inside Docker network use hostname "db")
|
|
DATABASE_URL=postgresql://${POSTGRES_USER}:${POSTGRES_PASSWORD}@db:5432/${POSTGRES_DB}?schema=public
|
|
|
|
# API Configuration
|
|
PORT=3000
|
|
|
|
# npm/pnpm registry used during Docker build (server often cannot reach registry.npmjs.org)
|
|
# Alternatives: https://package-mirror.liara.ir/repository/npm/ | https://registry.npmmirror.com
|
|
NPM_REGISTRY=https://mirror.kargadan.ir/repository/npm-group/
|