Feat: add prometheus compatible endpoint, seed fallback store and add env.example
This commit is contained in:
@@ -0,0 +1,34 @@
|
||||
# Environment Configuration for Ticket Microservice
|
||||
|
||||
# Server Configuration
|
||||
PORT=3049
|
||||
NODE_ENV=development
|
||||
|
||||
# Redis Configuration
|
||||
REDIS_URL=redis://localhost:6379
|
||||
|
||||
# Logging Configuration
|
||||
LOG_LEVEL=info
|
||||
LOG_FILE=logs/app.log
|
||||
|
||||
# PDF Configuration
|
||||
PDF_OUTPUT_DIR=tickets
|
||||
PDF_CLEANUP_MAX_AGE_HOURS=24
|
||||
|
||||
# Load Testing Configuration
|
||||
TEST_URL=http://localhost:3049
|
||||
|
||||
# Prometheus Configuration (if using monitoring profile)
|
||||
PROMETHEUS_PORT=9090
|
||||
GRAFANA_PORT=3000
|
||||
|
||||
# Optional: Custom Redis Configuration
|
||||
# REDIS_HOST=localhost
|
||||
# REDIS_PORT=6379
|
||||
# REDIS_PASSWORD=
|
||||
# REDIS_DB=0
|
||||
|
||||
# Optional: Performance Tuning
|
||||
# MAX_CONCURRENT_REQUESTS=1000
|
||||
# REQUEST_TIMEOUT_MS=30000
|
||||
# PDF_GENERATION_TIMEOUT_MS=10000
|
||||
Reference in New Issue
Block a user