-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathexample.env
More file actions
24 lines (18 loc) · 826 Bytes
/
Copy pathexample.env
File metadata and controls
24 lines (18 loc) · 826 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# 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="mysql://username:password@localhost:3306/databasename"
COOKIE_SECRET=secret
APPLICATION_PORT=80
APPLICATION_TIMEOUT=10 #in second
REDIS_HOST=localhost
REDIS_PORT=6379
REDIS_DATABASE=1
RABBITMQ_HOST=localhost
RABBITMQ_USERNAME=user
RABBITMQ_PASSWORD=password
RABBITMQ_PORT=5672
JWT_KEY=key
JWT_ACCESS_TOKEN_EXPIRE_TIME=15 #in minute
JWT_REFRESH_TOKEN_EXPIRE_TIME=365 #in day