Files
deardiary/backend/.env.example
2026-03-26 19:57:20 +00:00

21 lines
561 B
Plaintext

# Database connection (SQLite, PostgreSQL, or MySQL)
DATABASE_URL="file:./data/totalrecall.db"
# Media storage directory
MEDIA_DIR="./data/media"
# JWT secret for authentication tokens (REQUIRED in production)
JWT_SECRET="change-this-to-a-random-string-in-production"
# Server port
PORT="3000"
# CORS origin (use specific domain in production)
CORS_ORIGIN="*"
# Example PostgreSQL connection:
# DATABASE_URL="postgresql://postgres:password@db:5432/totalrecall"
# Example MySQL connection:
# DATABASE_URL="mysql://root:password@localhost:3306/totalrecall"