Files
isp-gate-service/conf/default_remote_config.json
T
2020-01-13 13:20:20 +03:00

76 lines
1.5 KiB
JSON

{
"database": {
"database": "database",
"password": "password",
"username": "name",
"port": "5432",
"schema": "gate_service",
"address": "127.0.0.1",
"createSchema": true
},
"grpcSetting": {
"proxyGrpcErrorDetails": false,
"enableOriginalProtoErrors": false
},
"httpSetting": {
"maxRequestBodySizeBytes": 0
},
"accountingSetting": {
"enable": false,
"snapshotTimeout": "1h",
"setting": [
{
"applicationId": 0,
"enableStoring": false,
"limits": [
{
"timeout": "1s",
"maxCount": 500,
"pattern": "/example/module/group/method"
}
]
}
],
"storing": {
"size": 10000,
"timeout": "30m"
}
},
"journalSetting": {
"journal": {
"compress": true,
"filename": "/var/log/isp-gate-service/runtime.log",
"maxSizeMb": 512,
"bufferSize": 4096,
"rotateTimeoutMs": 86400000,
"enableRemoteTransfer": true,
"enable": false
}
},
"redis": {
"address": {
"ip": "127.0.0.1",
"port": "6379"
}
},
"metrics": {
"memory": true,
"address": {
"port": "9553",
"ip": "0.0.0.0",
"path": "/metrics"
},
"gc": true
},
"tokensSetting": {
"adminSecret": "secret",
"applicationSecret": "secret",
"applicationVerify": false,
"userSecret": "secret"
},
"authCacheSetting": {
"enableCash": false,
"evictTimeout": "1m"
}
}