74 lines
1.4 KiB
JSON
74 lines
1.4 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
|
|
},
|
|
"serverSetting": {
|
|
"maxRequestBodySizeBytes": 0
|
|
},
|
|
"accountingSetting": {
|
|
"enable": false,
|
|
"snapshotTimeout": "1h",
|
|
"setting": [
|
|
{
|
|
"applicationId": 0,
|
|
"enableUnload": false,
|
|
"limits": [
|
|
{
|
|
"timeout": "1s",
|
|
"maxCount": 500,
|
|
"pattern": "/example/module/group/method"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"unload": {
|
|
"count": 1,
|
|
"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
|
|
},
|
|
"authCacheSetting": {
|
|
"enableCash": false,
|
|
"evictTimeout": "1m"
|
|
}
|
|
} |