mirror of
https://github.com/cgrates/cgrates.git
synced 2026-02-24 16:48:45 +05:00
56 lines
1.3 KiB
JSON
56 lines
1.3 KiB
JSON
{
|
|
|
|
"logger": {
|
|
"level": 7
|
|
},
|
|
|
|
"db": {
|
|
"db_conns": {
|
|
"*default": {
|
|
"db_type": "redis",
|
|
"db_port": 6379,
|
|
"db_name": "10"
|
|
},
|
|
"StorDB": { // The id of the DB connection
|
|
"db_type": "mysql", // db type: <internal|redis|mysql|mongo|postgres>
|
|
"db_host": "127.0.0.1", // the host to connect to
|
|
"db_port": 3306, // db port to reach the database
|
|
"db_name": "cgrates", // db database name to connect to
|
|
"db_user": "cgrates", // username to use when connecting to the database
|
|
"db_password": "CGRateS.org" // password to use when connecting to the database
|
|
},
|
|
},
|
|
"items": {
|
|
"*cdrs": {"limit": -1, "ttl": "", "static_ttl": false, "remote":false, "replicate":false, "dbConn": "StorDB"},
|
|
"*action_profiles": {"limit": -1, "ttl": "", "static_ttl": false, "remote":false, "replicate":false, "dbConn": "StorDB"},
|
|
}
|
|
},
|
|
|
|
"actions": {
|
|
"enabled": true,
|
|
"thresholds_conns": ["*internal"],
|
|
"stats_conns": ["*internal"],
|
|
"accounts_conns": ["*internal"]
|
|
},
|
|
|
|
"accounts": {
|
|
"enabled": true
|
|
},
|
|
|
|
"stats": {
|
|
"enabled": true,
|
|
"store_interval": "-1",
|
|
"thresholds_conns": ["*internal"]
|
|
},
|
|
|
|
"thresholds": {
|
|
"enabled": true,
|
|
"store_interval": "-1",
|
|
"actions_conns": ["*internal"]
|
|
},
|
|
|
|
"admins": {
|
|
"enabled": true
|
|
}
|
|
|
|
} |