nest-trpc-prisma-starter/.env.example

34 lines
522 B
Plaintext
Raw Permalink Normal View History

2024-04-25 18:12:44 +00:00
# app
APP_NAME=nest-trpc-prisma-starter
APP_PORT=5001
APP_BASE_URL=http://localhost:5001
# logger
LOGGER_LEVEL=debug
# security
JWT_SECRET=mySecretKey123
JWT_EXPIRE=7d
# db
POSTGRES_USER=postgres
POSTGRES_PASSWORD=
POSTGRES_DB=demo
DB_HOST=127.0.0.1
DB_PORT=5432
DATABASE_URL=postgresql://${POSTGRES_USER}:${POSTGRES_PASSWORD}@${DB_HOST}:${DB_PORT}/${POSTGRES_DB}?schema=public
# redis
REDIS_PORT=6379
REDIS_HOST=127.0.0.1
REDIS_PASSWORD=
REDIS_DB=0
# smtp
SMTP_HOST=smtp.qq.com
SMTP_PORT=465
SMTP_USER=
SMTP_PASS=