mirror of
https://github.com/cgrates/cgrates.git
synced 2026-02-13 11:06:25 +05:00
53 lines
931 B
JSON
53 lines
931 B
JSON
{
|
|
// CGRateS Configuration file
|
|
//
|
|
// Used for cgradmin
|
|
// Starts rater, scheduler
|
|
|
|
"general": {
|
|
"log_level": 7,
|
|
},
|
|
|
|
"listen": {
|
|
"rpc_json": ":2012", // RPC JSON listening address
|
|
"rpc_gob": ":2013", // RPC GOB listening address
|
|
"http": ":2080", // HTTP listening address
|
|
},
|
|
|
|
|
|
"stor_db": { // database used to store offline tariff plans and CDRs
|
|
"db_password": "CGRateS.org", // password to use when connecting to stordb
|
|
},
|
|
|
|
|
|
"rals": {
|
|
"enabled": true, // enable Rater service: <true|false>
|
|
},
|
|
|
|
"schedulers": {
|
|
"enabled": true, // start Scheduler service: <true|false>
|
|
"cdrs_conns": ["*internal"],
|
|
},
|
|
|
|
"cdrs": {
|
|
"enabled": true, // start the CDR Server service: <true|false>
|
|
"chargers_conns":["*localhost"],
|
|
},
|
|
|
|
"chargers": {
|
|
"enabled": true,
|
|
},
|
|
|
|
|
|
"thresholds": {
|
|
"enabled": true,
|
|
"store_interval": "1s",
|
|
},
|
|
|
|
"apiers": {
|
|
"enabled": true,
|
|
"scheduler_conns": ["*internal"],
|
|
},
|
|
|
|
}
|