-
Notifications
You must be signed in to change notification settings - Fork 0
/
.env
25 lines (18 loc) · 1.07 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
SECRET=b3a0d4cbad9bfcdf37a1185a6d3a4e4f3e2b2eab9d60d16e1d76fa04b9d3e6f4
MONGO_INITDB_ROOT_USERNAME: root
MONGO_INITDB_ROOT_PASSWORD: example
MONGO_INITDB_DATABASE: vetlekar
MONGO_REPLICA_HOST: localhost
MONGO_REPLICA_PORT: 27017
# Use "mongo" instead of "mongosh" before v5.0
MONGO_COMMAND: 'mongosh'
# 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://${MONGO_INITDB_ROOT_USERNAME}:${MONGO_INITDB_ROOT_PASSWORD}@${MONGO_REPLICA_HOST}:27017/${MONGO_INITDB_DATABASE}?authSource=admin"
DOMAIN="localhost:3000"
BASE_URL="http://${DOMAIN}"
# Вермя обновления кэша при fetch-запросах в секундах
REVALIDATE_TIME = 10