Last active
December 14, 2024 19:42
-
-
Save eggplants/af184b3ca3930b0a603555c1a944554b to your computer and use it in GitHub Desktop.
RustDesk Server on Docker
This file contains 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 | |
- 21116:21116/udp | |
- 21118:21118 | |
image: rustdesk/rustdesk-server:latest | |
command: hbbs -k password | |
volumes: | |
- ./data:/root | |
network_mode: host | |
restart: unless-stopped | |
# depends_on: | |
# - hbbr | |
# hbbr: | |
# container_name: hbbr | |
# image: rustdesk/rustdesk-server:latest | |
# command: hbbr | |
# volumes: | |
# - ./data:/root | |
# network_mode: host | |
# restart: unless-stopped |
Author
eggplants
commented
Dec 14, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment