31 lines
761 B
Plaintext
31 lines
761 B
Plaintext
# Database Configuration
|
|
DATABASE_URL=postgresql+asyncpg://admin:password@localhost:5432/women_safety
|
|
|
|
# Redis Configuration
|
|
REDIS_URL=redis://localhost:6379/0
|
|
|
|
# Kafka Configuration
|
|
KAFKA_BOOTSTRAP_SERVERS=localhost:9092
|
|
|
|
# JWT Configuration
|
|
SECRET_KEY=your-very-secret-key-change-in-production-256-bit-minimum
|
|
ALGORITHM=HS256
|
|
ACCESS_TOKEN_EXPIRE_MINUTES=30
|
|
|
|
# Application Configuration
|
|
APP_NAME=Women Safety App
|
|
DEBUG=True
|
|
API_V1_STR=/api/v1
|
|
|
|
# External Services
|
|
FCM_SERVER_KEY=your-fcm-server-key-here
|
|
|
|
# Security
|
|
CORS_ORIGINS=["http://localhost:3000", "http://localhost:8080", "https://yourdomain.com"]
|
|
|
|
# Location Settings
|
|
MAX_EMERGENCY_RADIUS_KM=1.0
|
|
|
|
# Production Settings (uncomment for production)
|
|
# DEBUG=False
|
|
# CORS_ORIGINS=["https://yourdomain.com"] |