35 lines
692 B
Bash
35 lines
692 B
Bash
# 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
|