{
	"backendConfig": {
		"NODE_ENV": "development",
		"port": 4000,
		"dashboardUser": "admin",
		"dashboardPass": "sapabadi123",
		"getByHostnameCacheTtlMs": 300000,
		"retryAfterSeconds": 30,
		"clusterEnabled": false,
		"requestTimeout": 180000,
		"maxPayloadSize": "50mb"
	},
	"frontendConfig": {
		"url": "https://sapps.sapharma.co.id/"
	},
	"dashboardConfig": {
		"pollIntervalMs": 10000
	},
	"databaseConfigSAPPS": {
		"host": "175.103.40.219",
		"port": 3307,
		"user": "root",
		"password": "S@pAbadi**ICT",
		"database": "sapharmaco_sapps",
		"NODE_ENV": "development",
		"secret": "sapabadi123",
		"ssl": true,
		"sslRejectUnauthorized": false,
		"timezone": "+07:00",
		"pool": {
			"max": 40,
			"min": 5,
			"idle": 10000,
			"acquire": 30000
		},
		"connectionTimeout": 20000,
		"queryTimeout": 30000
	},
	"redisConfig": {
		"enable": false,
		"host": "127.0.0.1",
		"port": 6379,
		"password": "",
		"db": 0
	},
	"rateLimitConfig": {
		"windowMs": 900000,
		"max": 100000,
		"message": "Too many requests from this IP, please try again later."
	},
	"_comment": "Optimized configuration for high-performance transaction processing",
	"_comment_cluster": "clusterEnabled: true enables multi-worker mode. Set ENABLE_CLUSTER=true env var to activate.",
	"_comment_pool": "databaseConfigSAPPS.pool: Each worker gets ~10 connections (40/4 cores). For PassengerMaxPoolSize 4: total 4x40=160.",
	"_comment_redis": "redisConfig.enable: true untuk Redis cache (membutuhkan Redis server terinstall). false = in-memory cache.",
	"_comment_rate_limit": "rateLimitConfig: Disesuaikan untuk 100rb request per 15 menit per IP. Jangan ubah kecuali perlu.",
	"_comment_timeout": "requestTimeout: 30 detik. Kurangi jika banyak timeout.connectionTimeout DB: 20 detik untuk production."
}
