This commit is contained in:
2026-04-09 19:28:41 +03:00
commit 9fa723bb4c
43 changed files with 2804 additions and 0 deletions

29
.env.example Normal file
View 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