generated from Worketyamo-Students/node-ts
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.env
37 lines (31 loc) · 1.38 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
PORT=3000
DEFAULT_API_PREFIX=/api/v1
NODE_ENV=development
MONGO_INITDB_ROOT_USERNAME=admin
MONGO_INITDB_ROOT_PASSWORD=test123
MONGO_DB_NAME=worketyamo
ME_CONFIG_MONGODB_ADMINUSERNAME=admin
ME_CONFIG_MONGODB_ADMINPASSWORD=test123
ME_CONFIG_MONGODB_SERVER=worketyamo
ME_CONFIG_MONGODB_PORT=27017
ME_CONFIG_MONGODB_URL=mongodb://root:example@mongo:27017/
# This was inserted by `prisma init`:
# 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
DATABASE_URL="mongodb+srv://kenwoubarthez:[email protected]/employees?retryWrites=true&w=majority&appName=Cluster0"
# Employe token
JWT_ALGORITHM="PS256"
JWT_ACCESS_EXPIRES_IN="1h"
JWT_REFRESH_EXPIRES_IN="30d"
JWT_PRIVATE_KEY="./keys/private.key"
JWT_PUBLIC_KEY="./keys/public.key"
JWT_REFRESH_PRIVATE_KEY="./keys/refresh-private.key"
JWT_REFRESH_PUBLIC_KEY="./keys/refresh-public.key"
# configuration of mail sender
MAIL_HOST="smtp.gmail.com"
MAIL_ADDRESS="[email protected]"
MAIL_PASSWORD="yuzf avhj bzce kxmk "
MAIL_PORT=465
MAIL_SECURITY=true