example server env
This commit is contained in:
parent
57aeef11fd
commit
6f1a6f11a4
@ -4,15 +4,12 @@
|
|||||||
# Prisma supports the native connection string format for PostgreSQL, MySQL, SQLite, SQL Server, MongoDB and CockroachDB.
|
# 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
|
# See the documentation for all the connection string options: https://pris.ly/d/connection-strings
|
||||||
|
|
||||||
ENVIRONMENT=dev
|
ENVIRONMENT=prod
|
||||||
PORT=8080
|
PORT=8080
|
||||||
|
|
||||||
FRONTEND_URL="http://localhost:3000"
|
FRONTEND_URL="http://localhost:3000"
|
||||||
DATABASE_URL="file:./dev.db"
|
DATABASE_URL="file:./dev.db"
|
||||||
|
|
||||||
CLEANUP_INTERVAL_SECONDS=60
|
CLEANUP_INTERVAL_SECONDS=600
|
||||||
|
POST_LIMIT_WINDOW=86400 # 24 hours
|
||||||
POST_LIMIT_WINDOW_SECONDS=3 # 3 seconds
|
POST_LIMIT=50
|
||||||
POST_LIMIT=1
|
|
||||||
# POST_LIMIT_WINDOW=86400 # 24 hours
|
|
||||||
# POST_LIMIT=50
|
|
||||||
|
Loading…
Reference in New Issue
Block a user