# Payment Service Environment Configuration # Database Configuration (PostgreSQL) DB_HOST=localhost DB_PORT=5432 DB_USER=payment_user DB_PASSWORD=your_secure_password_here DB_NAME=internet DB_SSL_MODE=disable # Redis Configuration REDIS_HOST=localhost REDIS_PORT=6379 REDIS_PASSWORD= REDIS_DB=0 # Server Configuration SERVER_PORT=8080 SERVER_HOST=0.0.0.0 GIN_MODE=release # JWT Configuration JWT_SECRET=your_jwt_secret_key_here_make_it_long_and_secure JWT_EXPIRY_HOURS=24 # Rate Limiting RATE_LIMIT_REQUESTS_PER_MINUTE=1000 RATE_LIMIT_BURST=100 # Monitoring METRICS_ENABLED=true METRICS_PORT=9090 # Logging LOG_LEVEL=info LOG_FORMAT=json # Health Check HEALTH_CHECK_INTERVAL=30s # Circuit Breaker CIRCUIT_BREAKER_TIMEOUT=5s CIRCUIT_BREAKER_MAX_REQUESTS=100 CIRCUIT_BREAKER_INTERVAL=10s # Connection Pool DB_MAX_OPEN_CONNS=100 DB_MAX_IDLE_CONNS=10 DB_CONN_MAX_LIFETIME=1h # Cache Configuration CACHE_TTL_SECONDS=300 TOKEN_CACHE_TTL_SECONDS=3500