first
This commit is contained in:
29
.env.example
Normal file
29
.env.example
Normal file
@@ -0,0 +1,29 @@
|
||||
# Database
|
||||
POSTGRES_HOST=postgres
|
||||
POSTGRES_PORT=5432
|
||||
POSTGRES_USER=formuser
|
||||
POSTGRES_PASSWORD=secure_password_here
|
||||
POSTGRES_DB=formbuilder
|
||||
|
||||
# App
|
||||
APP_NAME=FormBuilder
|
||||
APP_ENV=development
|
||||
DEBUG=True
|
||||
SECRET_KEY=your-secret-key-here
|
||||
|
||||
# Redis (для кэширования и очередей)
|
||||
REDIS_URL=redis://redis:6379/0
|
||||
|
||||
# Performance
|
||||
DB_POOL_SIZE=20
|
||||
DB_MAX_OVERFLOW=40
|
||||
DB_POOL_TIMEOUT=30
|
||||
|
||||
# CORS
|
||||
BACKEND_CORS_ORIGINS=["http://localhost:3000", "http://localhost:8000"]
|
||||
|
||||
# Email (для уведомлений)
|
||||
SMTP_HOST=smtp.gmail.com
|
||||
SMTP_PORT=587
|
||||
SMTP_USER=your-email@gmail.com
|
||||
SMTP_PASSWORD=your-password
|
||||
Reference in New Issue
Block a user