RustDesk Server — self-hosted infrastructure for the RustDesk remote-desktop client: the ID/rendezvous server (hbbs) and relay server (hbbr) in one supervised container. Run your own remote-support backend with no third-party servers. Host-networked, with a volume for the server keys.
Save as values.hcl, edit, then run:
# The name of the Nomad job.
job_name = "rustdesk"
# The Nomad namespace to deploy into.
namespace = "default"
# The datacenters to deploy to.
datacenters = ["*"]
# The RustDesk server (s6, hbbs+hbbr) image. Pin a tag in production.
image = "rustdesk/rustdesk-server-s6:latest"
# Public IP or hostname clients use to reach the relay (RELAY). Empty = not set (clients fall back to the ID server's address).
relay_host = ""
# Reject unencrypted connections (ENCRYPTED_ONLY: 1 = require encryption).
encrypted_only = 0
# Named volume for the server keys (id_ed25519) and database (/data).
data_volume = "rustdesk_data"
# Placement constraints. Pin to the node holding the volume. On a nomploy cluster: attribute = "$${meta.nomploy_control_plane}", operator = "=", value = "true".
constraints = []
# The task resources.
resources = {
cpu = 300
memory = 128
}
| Name | Type | Default | Description |
|---|---|---|---|
| job_name | string | "rustdesk" | The name of the Nomad job. |
| namespace | string | "default" | The Nomad namespace to deploy into. |
| datacenters | list | ["*"] | The datacenters to deploy to. |
| image | string | "rustdesk/rustdesk-server-s6:latest" | The RustDesk server (s6, hbbs+hbbr) image. Pin a tag in production. |
| relay_host | string | "" | Public IP or hostname clients use to reach the relay (RELAY). Empty = not set (clients fall back to the ID server's address). |
| encrypted_only | number | 0 | Reject unencrypted connections (ENCRYPTED_ONLY: 1 = require encryption). |
| data_volume | string | "rustdesk_data" | Named volume for the server keys (id_ed25519) and database (/data). |
| constraints | list | [] | Placement constraints. Pin to the node holding the volume. On a nomploy cluster: attribute = "$${meta.nomploy_control_plane}", operator = "=", value = "true". |
| resources | object | {
cpu = 300
memory = 128
} | The task resources. |
No variables match.
RustDesk Server — self-hosted infrastructure for the RustDesk remote-desktop client. Runs the ID/rendezvous server (hbbs) and relay server (hbbr) in a single supervised (s6) container, so you can run remote support with no third-party servers.
Host-networked, with a volume for the generated server keys.
nomad-pack registry add nomploy https://github.com/Nomploy/nomad-packs
nomad-pack run rustdesk --registry=nomploy
| Variable | Default | Description |
|---|---|---|
relay_host |
"" |
Public IP/hostname for the relay (RELAY), port 21117 appended. |
encrypted_only |
0 |
ENCRYPTED_ONLY — set 1 to reject unencrypted connections. |
data_volume |
rustdesk_data |
/data — server keys + database. |
image |
rustdesk/rustdesk-server-s6:latest |
Container image. Pin a tag in production. |
resources |
{ cpu = 300, memory = 128 } |
Task resources. |
Ports 21115–21119 (TCP) and 21116 (UDP) are exposed on the host. In the RustDesk client, set the
ID Server to this host and paste the server's public key (/data/id_ed25519.pub, printed
on first start). For internet access, forward those ports. Pin the job to the node holding the
volume with constraints.