feat: scaffold independent workbench service

This commit is contained in:
richjohnrambo
2026-09-13 22:17:01 +08:00
parent 482f9b80d9
commit 982e71f093
21 changed files with 3649 additions and 2 deletions
+27
View File
@@ -0,0 +1,27 @@
{
"listen": ":6061",
"mysql": {
"dsn": "root:root@tcp(127.0.0.1:3306)/tinode?parseTime=true&charset=utf8mb4,utf8&loc=Local"
},
"redis": {
"addr": "127.0.0.1:6379",
"db": 0,
"key_prefix": "im:"
},
"kafka": {
"enabled": false,
"brokers": [
"127.0.0.1:9092"
],
"topic": "im.workbench.event",
"client_id": "im_workbench_local"
},
"auth": {
"api_keys": [],
"session_key_pattern": "im:session:token:%s",
"allow_dev_header_auth": true,
"required_tenant_code": true,
"required_api_key": false,
"skip_session_in_dev": false
}
}
+31
View File
@@ -0,0 +1,31 @@
{
"listen": ":6061",
"mysql": {
"dsn": "root:oWxz*2=sb),ouW%p@tcp(64.118.137.182:53306)/tinode?parseTime=true&charset=utf8mb4,utf8&loc=Local"
},
"redis": {
"addr": "64.118.137.182:56379",
"password": "HMTJzkm.h>Y+E9ep",
"db": 0,
"key_prefix": "im:"
},
"kafka": {
"enabled": true,
"brokers": [
"64.118.137.182:9094"
],
"topic": "im.workbench.event",
"username": "kafka-external",
"password": "gr58tNnlZOVGW3AmMbL2",
"sasl": "SCRAM-SHA-512",
"client_id": "im_workbench_test"
},
"auth": {
"api_keys": [],
"session_key_pattern": "im:session:token:%s",
"allow_dev_header_auth": false,
"required_tenant_code": true,
"required_api_key": true,
"skip_session_in_dev": false
}
}