mirror of
https://github.com/andwati/telecom-platform.git
synced 2026-10-18 19:12:54 +00:00
- Add AuthConfig struct with JWTSecret field to config package - Add Auth field to Config struct with JSON tag for authentication settings - Add JWT_SECRET to Auth config with default value "change-me-in-production" - Replace MONGODB_URI with DATABASE_URL using PostgreSQL connection string in .env.example - Add categorized sections in .env.example: Database/Server/Authentication/
16 lines
364 B
Bash
16 lines
364 B
Bash
# Database Configuration
|
|
DATABASE_URL=postgres://telecom:password@localhost:5432/telecom_platform?sslmode=disable
|
|
REDIS_URI=redis://localhost:6379
|
|
|
|
# Server Configuration
|
|
API_PORT=8000
|
|
GIN_MODE=debug
|
|
LOG_LEVEL=info
|
|
|
|
# Authentication
|
|
JWT_SECRET=change-me-in-production
|
|
|
|
# External Services
|
|
PROMETHEUS_URL=http://localhost:9090
|
|
KUBERNETES_NAMESPACE=telecom-platform
|