project shared
This commit is contained in:
7
_docker/bin/docker-entrypoint.sh
Normal file
7
_docker/bin/docker-entrypoint.sh
Normal file
@@ -0,0 +1,7 @@
|
||||
#!/bin/sh
|
||||
|
||||
set -e
|
||||
|
||||
/opt/bin/overflow_gateway_probe -config=/opt/config/
|
||||
|
||||
exec "$@"
|
||||
67
_docker/config/config.json
Normal file
67
_docker/config/config.json
Normal file
@@ -0,0 +1,67 @@
|
||||
{
|
||||
"server": {
|
||||
"name": "Gateway Probe",
|
||||
"network": "tcp4",
|
||||
"addr": ":80",
|
||||
"tls": false,
|
||||
"concurrency": 262144,
|
||||
"maxStopWaitTime": 0
|
||||
},
|
||||
"auth": {
|
||||
"signingKey": "tWB0lUXiCwX4U3qsJZcZ10mKvEH793RHkTJDbDuZVshQTk4uNB6ck59UQ96lhsRi4XNUiEnlIbP8XYQMPabeNtERX3iyHeDcwocgUVAor1nkAajYeq1gNyJszGpMhEOT"
|
||||
},
|
||||
"websocket": {
|
||||
"handshakeTimeout": 0,
|
||||
"readBufferSize": 8192,
|
||||
"writeBufferSize": 8192,
|
||||
"enableCompression": false
|
||||
},
|
||||
"gRPC": {
|
||||
"addr": "192.168.1.50:50006",
|
||||
"tls": false,
|
||||
"pool": {
|
||||
"maxIdle": 1,
|
||||
"maxCapacity": 3,
|
||||
"idleTimeout": 240,
|
||||
"wait": false
|
||||
}
|
||||
},
|
||||
"redis": {
|
||||
"network": "tcp",
|
||||
"addr": "192.168.1.50:6379",
|
||||
"tls": false,
|
||||
"pool": {
|
||||
"maxIdle": 1,
|
||||
"maxCapacity": 3,
|
||||
"idleTimeout": 240,
|
||||
"wait": false
|
||||
}
|
||||
},
|
||||
"servlets": {
|
||||
"web": {
|
||||
"entry": "/web",
|
||||
"socket": {
|
||||
"maxMessageSize": 8192,
|
||||
"writeTimeout": 0,
|
||||
"readTimeout": 0,
|
||||
"pongTimeout": 60,
|
||||
"pingTimeout": 10,
|
||||
"pingPeriod": 10,
|
||||
"binaryMessage": false
|
||||
}
|
||||
},
|
||||
"file": {
|
||||
"entry": "/file",
|
||||
"socket": {
|
||||
"maxMessageSize": 8192,
|
||||
"writeTimeout": 0,
|
||||
"readTimeout": 0,
|
||||
"pongTimeout": 60,
|
||||
"pingTimeout": 10,
|
||||
"pingPeriod": 10,
|
||||
"binaryMessage": false
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
27
_docker/config/logging.json
Normal file
27
_docker/config/logging.json
Normal file
@@ -0,0 +1,27 @@
|
||||
{
|
||||
"level": "debug",
|
||||
"development": true,
|
||||
"disableCaller": true,
|
||||
"disableStacktrace": true,
|
||||
"sampling": {
|
||||
"initial": 100,
|
||||
"thereafter": 100
|
||||
},
|
||||
"encoding": "console",
|
||||
"encoderConfig": {
|
||||
"messageKey": "message",
|
||||
"levelKey": "level",
|
||||
"timeKey": "time",
|
||||
"nameKey": "name",
|
||||
"callerKey": "caller",
|
||||
"stacktraceKey": "stacktrace",
|
||||
"lineEnding": "\n",
|
||||
"levelEncoder": "color",
|
||||
"timeEncoder": "ISO8601",
|
||||
"durationEncoder": "string",
|
||||
"callerEncoder": "full",
|
||||
"nameEncoder": "full"
|
||||
},
|
||||
"outputPaths": ["/opt/logs/log"],
|
||||
"errorOutputPaths": ["stderr"]
|
||||
}
|
||||
Reference in New Issue
Block a user