-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.env
43 lines (34 loc) · 1.15 KB
/
.env
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
40
41
42
43
# 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_USER=nest
POSTGRES_PASSWORD=nest
POSTGRES_DB="test"
DB_HOST=localhost
# DB_HOST=postgres
DB_PORT=5432
DB_SCHEMA=nest
DATABASE_URL=postgresql://${POSTGRES_USER}:${POSTGRES_PASSWORD}@${DB_HOST}:${DB_PORT}/${POSTGRES_DB}
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