mirror of
https://gitlab.com/MoonTestUse1/AdministrationItDepartmens.git
synced 2025-08-14 00:25:46 +02:00
add websockets suppor95
This commit is contained in:
18
backend/.env
18
backend/.env
@@ -1,3 +1,15 @@
|
||||
DATABASE_URL=postgresql://postgres:postgres123@postgres/support_db
|
||||
TELEGRAM_BOT_TOKEN=7677506032:AAHduD5EePz3bE23DKlo35KoOp2_9lZuS34
|
||||
TELEGRAM_CHAT_ID=5057752127
|
||||
# Database settings
|
||||
POSTGRES_USER=postgres
|
||||
POSTGRES_PASSWORD=postgres
|
||||
POSTGRES_DB=support
|
||||
POSTGRES_HOST=support-db
|
||||
POSTGRES_PORT=5432
|
||||
|
||||
# JWT settings
|
||||
JWT_SECRET=your-secret-key
|
||||
JWT_ALGORITHM=HS256
|
||||
ACCESS_TOKEN_EXPIRE_MINUTES=1440 # 24 hours
|
||||
|
||||
# Telegram settings (optional)
|
||||
TELEGRAM_BOT_TOKEN=
|
||||
TELEGRAM_CHAT_ID=
|
Reference in New Issue
Block a user