adding .env
This commit is contained in:
33
.env
Normal file
33
.env
Normal file
@@ -0,0 +1,33 @@
|
|||||||
|
# Django настройки
|
||||||
|
DEBUG=False
|
||||||
|
SECRET_KEY=Gxe7uWz8X0n0xs9saFErah5vpYXFM1NTW8e8lxZOqfR6OZSKANooMnCdTuHu11rn
|
||||||
|
|
||||||
|
# База данных PostgreSQL
|
||||||
|
POSTGRES_DB=videocall_db
|
||||||
|
POSTGRES_USER=postgres
|
||||||
|
POSTGRES_PASSWORD=96ntpa98iYfg
|
||||||
|
DB_PASSWORD=VLhCHPVh7XqqnCZNe
|
||||||
|
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://test.byte-mate.xyz
|
||||||
|
ALLOWED_HOSTS=test.byte-mate.xyz,localhost,127.0.0.1
|
||||||
|
|
||||||
|
# SSL сертификаты (пути в системе)
|
||||||
|
SSL_CERT_PATH=/etc/letsencrypt/live/test.byte-mate.xyz/fullchain.pem
|
||||||
|
SSL_KEY_PATH=/etc/letsencrypt/live/test.byte-mate.xyz/privkey.pem
|
||||||
|
DOMAIN_NAME=test.byte-mate.xyz
|
||||||
|
|
||||||
|
# Frontend настройки (для разработки)
|
||||||
|
VITE_API_BASE_URL=https://test.byte-mate.xyz/api
|
||||||
|
VITE_WS_BASE_URL=wss://test.byte-mate.xyz
|
||||||
|
VITE_APP_NAME=Video Call App
|
||||||
1
.gitignore
vendored
1
.gitignore
vendored
@@ -27,7 +27,6 @@ pip-delete-this-directory.txt
|
|||||||
.coverage
|
.coverage
|
||||||
.pytest_cache/
|
.pytest_cache/
|
||||||
htmlcov/
|
htmlcov/
|
||||||
.env
|
|
||||||
.venv
|
.venv
|
||||||
env/
|
env/
|
||||||
venv/
|
venv/
|
||||||
|
|||||||
3
videocall-frontend/.env
Normal file
3
videocall-frontend/.env
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
VITE_API_BASE_URL=https://test.byte-mate.xyz/api
|
||||||
|
VITE_WS_BASE_URL=wss://test.byte-mate.xyz
|
||||||
|
VITE_APP_NAME=Video Call App
|
||||||
Reference in New Issue
Block a user