Last active
May 6, 2025 11:45
-
-
Save eggplants/af184b3ca3930b0a603555c1a944554b to your computer and use it in GitHub Desktop.
RustDesk Server on Docker
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 0. Server A and clients B/C are on the same Tailnet | |
# 1. Start RustDesk Server on A in Docker | |
# 2. Install RustDesk Client on B/C and set Magic DNS of A and Server Password Key | |
# 3. B/C can be connected to each other | |
services: | |
hbbs: | |
container_name: hbbs | |
ports: | |
- 21115:21115 | |
- 21116:21116/tcp | |
- 21116:21116/udp | |
- 21118:21118 | |
image: rustdesk/rustdesk-server:latest | |
command: hbbs | |
volumes: | |
- ./data:/root | |
depends_on: | |
- hbbr | |
restart: unless-stopped | |
hbbr: | |
container_name: hbbr | |
ports: | |
- 21117:21117 | |
- 21119:21119 | |
image: rustdesk/rustdesk-server:latest | |
command: hbbr | |
volumes: | |
- ./data:/root | |
restart: unless-stopped |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Run
cat data/id_ed25519.pub
to check Server Key