Initial commit: Эфир мессенджер
This commit is contained in:
21
.env.example
Normal file
21
.env.example
Normal file
@@ -0,0 +1,21 @@
|
||||
# Server Configuration
|
||||
SERVER_PORT=8080
|
||||
ENVIRONMENT=development
|
||||
|
||||
# Database
|
||||
DB_DRIVER=sqlite
|
||||
DB_PATH=./messenger.db
|
||||
|
||||
# JWT Authentication
|
||||
JWT_SECRET=your-super-secret-jwt-key-change-in-production-32bytes
|
||||
JWT_EXPIRY_HOURS=720
|
||||
|
||||
# Encryption (32 bytes for AES-256)
|
||||
ENCRYPTION_KEY=0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef
|
||||
|
||||
# File Storage
|
||||
STORAGE_PATH=./storage/attachments
|
||||
MAX_FILE_SIZE_MB=20
|
||||
|
||||
# CORS
|
||||
CORS_ALLOWED_ORIGINS=http://localhost:3000,http://localhost:8080
|
||||
Reference in New Issue
Block a user