Skip to main content

Self-Hosting Overview

Diyalog runs inside your own infrastructure. This section is for the teams that install, configure and operate it.

Components#

ComponentWhat it doesRequired
diyalog-serverThe core backend (Scala, Akka Cluster). Serves the client protocol, the HTTP APIs and the web bots.Yes
diyalog-distributed-workersBackground jobs such as database cleanup and storage migration. Uses the diyalog-server image.Yes
diyalog-webappServes the web client and the web SDK files.Yes
diyalog-proxyWebSocket reverse proxy (nginx) for a DMZ cluster in front of diyalog-server.When clients connect from outside your internal network
diyalog-coturnTURN/STUN server (coturn) for voice and video calls.For calls
diyalog-screenrecordingScreen recording API for the desktop recorder app. Uses the diyalog-server image.Optional
diyalog-translation-serverOffline translation service used by the server.Optional
answer-suggestion-apiSuggests replies to agents in online-help chats. Cluster-internal only.Optional

Infrastructure requirements#

DependencyNotes
DatabasePostgreSQL or Oracle. Selected with database.type in the server chart.
File storageS3-compatible object storage (default adapter) or local disk.
Push servicesFCM (Android), APNs (iOS, token or certificate authentication), Huawei Push Kit (optional).
TURN serverNeeded for voice and video calls; install diyalog-coturn or use your own.
LDAPOptional for agent login; required by diyalog-screenrecording.
SMTPOptional; used for email notifications and email OTP.
KubernetesKubernetes or OpenShift with Helm 3. Ingress (nginx) or OpenShift Routes.

Network endpoints#

diyalog-server exposes these ports inside the cluster:

PortPurposeExpose through
4858WebSocket client protocol (path /diyalog)wsEndpoint ingress host, or diyalog-proxy in the DMZ
4859HTTP APIs (/v1/...): Messaging, Application, Reporting, SimplePush, Broadcast, Admin, filesapiEndpoint ingress host
8558Akka management (cluster health and bootstrap)managementEndpoint ingress host; keep it on an internal network
25520Akka remoting between server podsCluster-internal only
4861Internal service API, used by distributed-workers and answer-suggestion-apiCluster-internal only; see Security

Installation paths#

After installing, configure the server with the Server configuration reference and review the Security checklist.