Skip to content

Instantly share code, notes, and snippets.

@f4ww4z
Created February 9, 2026 06:20
Show Gist options
  • Select an option

  • Save f4ww4z/c21af3fe95597c2d75ef70414b0c6f41 to your computer and use it in GitHub Desktop.

Select an option

Save f4ww4z/c21af3fe95597c2d75ef70414b0c6f41 to your computer and use it in GitHub Desktop.
Dockerized Rustdesk Server configuration
services:
hbbs:
container_name: hbbs
image: rustdesk/rustdesk-server:latest
command: hbbs -r ${SERVER_IP}:21117 # Put SERVER_IP in .env file
ports:
- "21115:21115"
- "21116:21116"
- "21116:21116/udp"
- "21118:21118"
volumes:
- ./data:/root
restart: unless-stopped
depends_on:
- hbbr
hbbr:
container_name: hbbr
image: rustdesk/rustdesk-server:latest
command: hbbr
ports:
- "21117:21117"
- "21119:21119"
volumes:
- ./data:/root
restart: unless-stopped
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment