add: chat service

This commit is contained in:
wwweww
2026-04-24 20:43:53 +08:00
parent 4cc4c96b21
commit 756ca20c6d
43 changed files with 3035 additions and 0 deletions
+34
View File
@@ -0,0 +1,34 @@
Name: chat-api
Host: 0.0.0.0
Port: 8888
Hybrid:
Name: chat-hybrid
Protocol: auto
Ws:
Name: chat-ws
Addr: :8889
Path: /ws/chat
MaxConnections: 10000
Auth:
Enabled: true
Source: envoy-header
HeaderName: X-User-ID
Wt:
Addr: :8443
Path: /wt/chat
CertFile: /etc/certs/tls.crt
KeyFile: /etc/certs/tls.key
FallbackStrategy: auto
MaxRetries: 3
MaxConnections: 10000
Auth:
Enabled: true
WsHeaderName: X-User-ID
Stateless:
PollInterval: 100ms
BatchSize: 100
Log:
Level: info