# ================================================================ # E-VOTING SYSTEM - ENVIRONMENT EXAMPLE # Copy this file to .env and adjust values for your environment # ================================================================ # Database Configuration DB_HOST=mariadb DB_PORT=3306 DB_NAME=evoting_db DB_USER=evoting_user DB_PASSWORD=evoting_pass123 DB_ROOT_PASSWORD=rootpass123 # Backend Configuration BACKEND_PORT=8000 SECRET_KEY=change-this-to-a-strong-random-key-in-production DEBUG=false PYTHONUNBUFFERED=1 # Frontend Configuration FRONTEND_PORT=3000 NEXT_PUBLIC_API_URL=http://localhost:8000 # ElGamal Cryptography Parameters ELGAMAL_P=23 ELGAMAL_G=5 # JWT Configuration ACCESS_TOKEN_EXPIRE_MINUTES=30 ALGORITHM=HS256 # Production Recommendations: # 1. Change SECRET_KEY to a strong random value # 2. Set DEBUG=false # 3. Update DB_PASSWORD to a strong password # 4. Use HTTPS and set NEXT_PUBLIC_API_URL to production domain # 5. Configure proper database backups # 6. Use environment-specific secrets management