Files
cgrates/data/conf/samples/redis_sentinel/cgrates.json
2021-05-07 10:51:16 +02:00

44 lines
618 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:16381;127.0.0.1:16382",
"db_name": "10", // data_db database name to connect to
"opts": {
"redisSentinel":"redis-cluster",
},
},
"stor_db": {
"db_password": "CGRateS.org",
},
"rals": {
"enabled": true,
},
"admins": {
"enabled": true,
},
}