Self-Hosting Overview
Diyalog runs inside your own infrastructure. This section is for the teams that install, configure and operate it.
Components#
| Component | What it does | Required |
|---|---|---|
| diyalog-server | The core backend (Scala, Akka Cluster). Serves the client protocol, the HTTP APIs and the web bots. | Yes |
| diyalog-distributed-workers | Background jobs such as database cleanup and storage migration. Uses the diyalog-server image. | Yes |
| diyalog-webapp | Serves the web client and the web SDK files. | Yes |
| diyalog-proxy | WebSocket reverse proxy (nginx) for a DMZ cluster in front of diyalog-server. | When clients connect from outside your internal network |
| diyalog-coturn | TURN/STUN server (coturn) for voice and video calls. | For calls |
| diyalog-screenrecording | Screen recording API for the desktop recorder app. Uses the diyalog-server image. | Optional |
| diyalog-translation-server | Offline translation service used by the server. | Optional |
| answer-suggestion-api | Suggests replies to agents in online-help chats. Cluster-internal only. | Optional |
Infrastructure requirements#
| Dependency | Notes |
|---|---|
| Database | PostgreSQL or Oracle. Selected with database.type in the server chart. |
| File storage | S3-compatible object storage (default adapter) or local disk. |
| Push services | FCM (Android), APNs (iOS, token or certificate authentication), Huawei Push Kit (optional). |
| TURN server | Needed for voice and video calls; install diyalog-coturn or use your own. |
| LDAP | Optional for agent login; required by diyalog-screenrecording. |
| SMTP | Optional; used for email notifications and email OTP. |
| Kubernetes | Kubernetes or OpenShift with Helm 3. Ingress (nginx) or OpenShift Routes. |
Network endpoints#
diyalog-server exposes these ports inside the cluster:
| Port | Purpose | Expose through |
|---|---|---|
| 4858 | WebSocket client protocol (path /diyalog) | wsEndpoint ingress host, or diyalog-proxy in the DMZ |
| 4859 | HTTP APIs (/v1/...): Messaging, Application, Reporting, SimplePush, Broadcast, Admin, files | apiEndpoint ingress host |
| 8558 | Akka management (cluster health and bootstrap) | managementEndpoint ingress host; keep it on an internal network |
| 25520 | Akka remoting between server pods | Cluster-internal only |
| 4861 | Internal service API, used by distributed-workers and answer-suggestion-api | Cluster-internal only; see Security |
Installation paths#
- Helm installation: the supported way to install Diyalog on Kubernetes or OpenShift.
- Docker installation: older single-host instructions with Docker images.
After installing, configure the server with the Server configuration reference and review the Security checklist.