30 lines
655 B
Plaintext
30 lines
655 B
Plaintext
# PostgreSQL
|
|
POSTGRES_USER=doceditor
|
|
POSTGRES_PASSWORD=doceditor
|
|
POSTGRES_DB=doceditor
|
|
|
|
# Application
|
|
SECRET_KEY=change-me-in-production-use-openssl-rand-hex-32
|
|
ADMIN_EMAIL=admin@example.com
|
|
ADMIN_USERNAME=admin
|
|
ADMIN_PASSWORD=admin123
|
|
|
|
# URLs (used in emails and CORS)
|
|
FRONTEND_URL=http://localhost:5173
|
|
CORS_ORIGINS=http://localhost:5173,http://localhost:3000
|
|
|
|
# Ports exposed on host
|
|
BACKEND_PORT=8000
|
|
FRONTEND_PORT=5173
|
|
|
|
# SMTP (optional — codes logged to backend console if empty)
|
|
SMTP_HOST=
|
|
SMTP_PORT=587
|
|
SMTP_USER=
|
|
SMTP_PASSWORD=
|
|
SMTP_FROM=noreply@example.com
|
|
SMTP_USE_TLS=true
|
|
|
|
ACTIVATION_CODE_EXPIRE_HOURS=24
|
|
PASSWORD_RESET_CODE_EXPIRE_HOURS=1
|