Name: chat-api
Host: 0.0.0.0
Port: 8888

Hybrid:
  Name: chat-hybrid
  Protocol: auto
  Ws:
    Name: chat-ws
    Addr: :8888
    Path: /ws/chat
    MaxConnections: 10000
    Auth:
      Enabled: true
      Source: envoy-header
      HeaderName: x-auth-user-id
  Wt:
    Addr: :8443
    Path: /wt/chat
    CertFile: /etc/certs/tls.crt
    KeyFile: /etc/certs/tls.key
    Auth:
      Enabled: true
    Auth:
      Enabled: true
  FallbackStrategy: auto
  MaxRetries: 3
  MaxConnections: 10000
  Auth:
    Enabled: true
    WsHeaderName: x-auth-user-id
    WtTokenSource: query
    WtTokenName: token
    WtJWTSecret: test-secret

Stateless:
  PollInterval: 100ms
  BatchSize: 100

Mongo:
  URI: mongodb://mongo:27017
  Database: juwan_chat_test

Redis:
  Addr: redis:6379

Log:
  Level: debug
