Files
cgrates/data/conf/samples/ld_process_match_rt_mysql/cgrates.json
2022-03-09 14:14:30 +01:00

74 lines
1.3 KiB
JSON

{
// CGRateS Configuration file
//
"general": {
"log_level": 7,
"reply_timeout": "50s",
},
"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_port": 6379, // data_db port to reach the database
"db_name": "10", // data_db database name to connect to
},
"loaders": [
{
"id": "*default",
"enabled": true,
"tenant": "cgrates.org",
"lockfile_path": ".cgr.lck",
"tp_in_dir": "/usr/share/cgrates/tariffplans/loadRateTest",
"tp_out_dir": "",
},
],
"rates": {
"enabled": true
},
"cdrs": {
"enabled": true,
"chargers_conns":["*internal"],
"accounts_conns": ["*localhost"],
"rates_conns": ["*localhost"],
"ees_conns": ["conn1"]
},
"chargers": {
"enabled": true,
"attributes_conns": ["*internal"],
},
"attributes": {
"enabled": true,
"stats_conns": ["*localhost"],
"resources_conns": ["*localhost"],
"accounts_conns": ["*localhost"]
},
"accounts": {
"enabled": true,
"rates_conns": ["*localhost"],
},
"rpc_conns": {
"conn1": {
"strategy": "*first",
"conns": [{"address": "127.0.0.1:22012", "transport":"*json"}],
},
},
}