2022-06-22 00:30:11 +03:00
|
|
|
# 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
|
|
|
|
|
2022-06-23 21:22:34 +03:00
|
|
|
ENVIRONMENT=dev
|
2022-06-22 00:30:11 +03:00
|
|
|
PORT=8080
|
2022-06-29 23:32:18 +03:00
|
|
|
|
2022-06-22 00:30:11 +03:00
|
|
|
FRONTEND_URL="http://localhost:3000"
|
2022-06-29 15:17:38 +03:00
|
|
|
DATABASE_URL="file:./dev.db"
|
2022-06-29 23:32:18 +03:00
|
|
|
|
|
|
|
CLEANUP_INTERVAL_SECONDS=60
|
|
|
|
|
|
|
|
POST_LIMIT_WINDOW_SECONDS=3 # 3 seconds
|
|
|
|
POST_LIMIT=1
|
|
|
|
# POST_LIMIT_WINDOW=86400 # 24 hours
|
|
|
|
# POST_LIMIT=50
|