mirror of
https://github.com/cgrates/cgrates.git
synced 2026-02-11 18:16:24 +05:00
45 lines
671 B
JSON
Executable File
45 lines
671 B
JSON
Executable File
{
|
|
// CGRateS Configuration file
|
|
//
|
|
|
|
|
|
"general": {
|
|
"log_level": 7,
|
|
},
|
|
|
|
|
|
"listen": {
|
|
"rpc_json": ":2012",
|
|
"rpc_gob": ":2013",
|
|
"http": ":2080",
|
|
},
|
|
|
|
|
|
"data_db": { // database used to store runtime data (eg: accounts, cdr stats)
|
|
"db_type": "redis", // data_db type: <redis|mongo>
|
|
"db_host":"127.0.0.1:7001",
|
|
"db_name": "10", // data_db database name to connect to
|
|
"opts": {
|
|
"redis_cluster": true,
|
|
"redis_cluster_sync": "100ms", // the sync interval for the redis cluster
|
|
},
|
|
},
|
|
|
|
|
|
"stor_db": {
|
|
"db_password": "CGRateS.org",
|
|
},
|
|
|
|
|
|
"rals": {
|
|
"enabled": true,
|
|
},
|
|
|
|
|
|
"apiers": {
|
|
"enabled": true,
|
|
},
|
|
|
|
|
|
}
|