This Docker Compose configuration sets up Rustdesk Server with Tailscale as a sidecar container to keep the app reachable over your Tailnet.
Rustdesk Server information about the service. Explain what the app does in 2-3 sentences and why someone would pair it with Tailscale.
In this setup, the tailscale-rustdesk-server service runs Tailscale, which manages secure networking for Rustdesk Server. The Rustdesk Server service utilizes the Tailscale network stack via Docker's network_mode: service: configuration. This keeps the app Tailnet-only unless you intentionally expose ports.
- Service Configuration: The Rustdesk client public Key credentials are generated at first run and stored in the id_ed25519.pub file. This is found in the compose directory ./rustdesk-server-data/hbbs/ Clients can be setup using the --config switch. e.g. rustdesk.exe --config "host=rustdesk-server.your-tailnet.ts.net,key=Public_Key_Credentials" or in the client: Setting -> Network -> ID/Relay Server. Add ID server (e.g. rustdesk-server.your-tailnet.ts.net) and Key. There is no need to configure the Relay server or API server.
Links:
Please check the following contents for validity as some variables need to be defined upfront.
.env// Main variableTS_AUTHKEY