-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.env.example
39 lines (30 loc) · 1.1 KB
/
.env.example
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
# Environment variables declared in this file are automatically made available to Prisma.
# See the documentation for more detail: https://pris.ly/d/prisma-schema#accessing-environment-variables-from-the-schema
# Prisma supports the native connection string format for PostgreSQL, MySQL, SQLite, SQL Server, MongoDB and CockroachDB.
# See the documentation for all the connection string options: https://pris.ly/d/connection-strings
POSTGRES_PASSWORD=nest
POSTGRES_USER=nest
POSTGRES_DB=nest
DATABASE_URL=`postgresql://${POSTGRES_USER}:${POSTGRES_PASSWORD}@localhost:5432/${POSTGRES_DB}?schema=public`
jwtSecret='1234565432123456'
Round=10
# Nest Configuration
NEST_PORT=3000
# CORS Configuration
CORS_ENABLED=true
# Swagger Configuration
SWAGGER_ENABLED=true
SWAGGER_TITLE=Nestjs FTW
SWAGGER_DESCRIPTION=The nestjs API description
SWAGGER_VERSION=1.5
SWAGGER_PATH=api
# Security Configuration
SECURITY_EXPIRES_IN=2m
SECURITY_REFRESH_IN=7d
SECURITY_BCRYPT_SALT_OR_ROUND=10
SECURITY_JWT_SECRET=1234565432123456
# Redis Configuration
REDIS_URL=redis://localhost:6379
REDIS_HOST=localhost
REDIS_PORT=6379
REDIS_DB=0