noteshare.space/server/.env.example
2022-07-02 20:45:59 +02:00

16 lines
609 B
Plaintext

# 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
ENVIRONMENT=prod
PORT=8080
FRONTEND_URL="http://localhost:3000"
DATABASE_URL="file:./dev.db"
CLEANUP_INTERVAL_SECONDS=600
POST_LIMIT_WINDOW=86400 # 24 hours
POST_LIMIT=50