init
This commit is contained in:
33
env.example
Normal file
33
env.example
Normal file
@@ -0,0 +1,33 @@
|
||||
# Django настройки
|
||||
DEBUG=False
|
||||
SECRET_KEY=your-super-secret-django-key-change-this-immediately-in-production
|
||||
|
||||
# База данных PostgreSQL
|
||||
POSTGRES_DB=videocall_db
|
||||
POSTGRES_USER=postgres
|
||||
POSTGRES_PASSWORD=your-strong-db-password-here
|
||||
DB_PASSWORD=your-strong-db-password-here
|
||||
DB_HOST=db
|
||||
DB_PORT=5432
|
||||
|
||||
# Redis для сессий и WebSocket
|
||||
REDIS_URL=redis://redis:6379/0
|
||||
|
||||
# Настройки приложения
|
||||
ROOM_EXPIRY_HOURS=24
|
||||
MAX_PARTICIPANTS_PER_ROOM=2
|
||||
SHORT_CODE_LENGTH=6
|
||||
|
||||
# CORS настройки
|
||||
CORS_ALLOWED_ORIGINS=https://yourdomain.com,https://www.yourdomain.com
|
||||
ALLOWED_HOSTS=yourdomain.com,www.yourdomain.com,localhost,127.0.0.1
|
||||
|
||||
# SSL сертификаты (пути в системе)
|
||||
SSL_CERT_PATH=/etc/letsencrypt/live/yourdomain.com/fullchain.pem
|
||||
SSL_KEY_PATH=/etc/letsencrypt/live/yourdomain.com/privkey.pem
|
||||
DOMAIN_NAME=yourdomain.com
|
||||
|
||||
# Frontend настройки (для разработки)
|
||||
VITE_API_BASE_URL=https://yourdomain.com/api
|
||||
VITE_WS_BASE_URL=wss://yourdomain.com
|
||||
VITE_APP_NAME=Video Call App
|
||||
Reference in New Issue
Block a user