added environment files

This commit is contained in:
2026-01-26 19:15:43 +00:00
parent 75480a9ac6
commit 24a8133bce
2 changed files with 147 additions and 0 deletions

42
env.example Normal file
View File

@@ -0,0 +1,42 @@
# Database
POSTGRES_USER=portal_user
POSTGRES_PASSWORD=your_secure_password
POSTGRES_DB=secure_portal
# Redis
REDIS_PASSWORD=your_redis_password
# JWT Secrets (generate with: openssl rand -base64 32)
JWT_ACCESS_SECRET=your_access_secret
JWT_REFRESH_SECRET=your_refresh_secret
# Encryption (32 characters)
ENCRYPTION_KEY=your_32_character_encryption_key
# URLs
PASSWORD_RESET_URL=https://yourdomain.com/password-reset
CORS_ORIGIN=https://yourdomain.com
FRONTEND_URL=https://yourdomain.com
# Mail Provider (brevo, sendgrid, smtp)
MAIL_PROVIDER=brevo
MAIL_FROM_EMAIL=noreply@yourdomain.com
MAIL_FROM_NAME=Secure Portal
# Brevo (if MAIL_PROVIDER=brevo)
BREVO_API_KEY=your_brevo_api_key
# SMTP (if MAIL_PROVIDER=smtp)
SMTP_HOST=smtp.example.com
SMTP_PORT=587
SMTP_USER=your_smtp_user
SMTP_PASSWORD=your_smtp_password
SMTP_SECURE=false
# License
LICENSE_SERVER_URL=https://license.example.com
LICENSE_KEY=your_license_key
# Features
ENABLE_REGISTER=false
CLAMAV_ENABLED=true