Files
safedocsportal/env.example

43 lines
978 B
Plaintext

# 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