Files
TTurnier/.env
2025-04-08 21:29:54 +02:00

24 lines
691 B
Bash

# PostgreSQL Connection URL
# Format: postgresql://<user>:<password>@<host>:<port>/<database>
DATABASE_URL=postgresql://postgres:password@localhost:5432/tt_tournament
DB_USER=postgres
DB_HOST=localhost
DB_DATABASE=todo_app_db
DB_PASSWORD=password
DB_PORT=5432 # Default PostgreSQL port
# JWT Secret Key (change this to a long, random, secure string)
JWT_SECRET=jif32r7fFEKMh75jrfIHNF8i5hnik9HToB7540VF3gaf
# Port the application will run on
PORT=3000
HTTPS_PORT=3443
NODE_ENV=development # Set to 'production' in production environment
# Optional: Database Backup Configuration
# BACKUP_PATH=/path/to/your/backup/directory
# BACKUP_INTERVAL_MINUTES=1440 # e.g., 1440 for daily backups