-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.env.example
20 lines (14 loc) · 1.2 KB
/
.env.example
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# 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/mydb"
SHADOW_DATABASE_URL="mysql://username:password@localhost:3306/mydb_shadow" # The shadow database is not required in production, and is not used by production-focused commands such as `prisma migrate resolve` and `prisma migrate deploy`.
API_VERSION="/api/v1"
EXPRESS_PORT=8080
JWT_ACCESS_TOKEN_SECRET='<YOUR_RANDOM_STRING_FOR_JWT_ACCESS_TOKEN_SECRET>' # The JWT secret can be generate with this command `npm run generate:secret:jwt`
JWT_REFRESH_TOKEN_SECRET='<YOUR_RANDOM_STRING_FOR_JWT_REFRESH_TOKEN_SECRET>'
GCLOUD_PROJECT_ID="your-gcloud-project-id"
GCLOUD_BUCKET_NAME="your-bucket-name"
GENERATIVE_AI_SERVICE_URL="<YOUR_GENERATIVE_AI_SERVICE_URL>"
SUGGESTION_AI_SERVICE_URL="<YOUR_SUGGESTION_AI_SERVICE_URL>"