# RustDesk Server This directory contains the `docker-compose.yml` for deploying the RustDesk hbbs (rendezvous) and hbbr (relay) servers. These servers facilitate peer-to-peer remote control connections. ## Running with Podman Compose To run these services using `podman-compose`: 1. Navigate to this directory: ```bash cd optimized/standalone/RustDesk ``` 2. **Important**: Review and update the `--relay-servers` IP address in `hbbs` command and other environment variables in `hbbr` if necessary. 3. Start the services: ```bash podman-compose up -d ``` ## Running with Podman You can run each RustDesk component directly with Podman. **For `rustdesk-hbbs`:** ```bash podman run -d \ --name rustdesk-hbbs \ --restart unless-stopped \ --platform linux/arm64 \ -v rustdesk_data:/root \ -p "21115:21115/tcp" \ -p "21115:21115/udp" \ -p "21116:21116/tcp" \ -p "21116:21116/udp" \ rustdesk/rustdesk-server:latest hbbs --relay-servers "192.168.1.245:21117" ``` **For `rustdesk-hbbr`:** ```bash podman run -d \ --name rustdesk-hbbr \ --restart unless-stopped \ --platform linux/arm64 \ -v rustdesk_data:/root \ -p "21117:21117/tcp" \ -p "21118:21118/udp" \ -p "21119:21119/tcp" \ -p "21119:21119/udp" \ -e TOTAL_BANDWIDTH=20480 \ -e SINGLE_BANDWIDTH=128 \ -e LIMIT_SPEED="100Mb/s" \ -e DOWNGRADE_START_CHECK=600 \ -e DOWNGRADE_THRESHOLD=0.9 \ rustdesk/rustdesk-server:latest hbbr ``` ## Notes * RustDesk servers are suitable for standalone deployment as they provide specific backend functionality for remote connections and don't inherently require Swarm orchestration for their core purpose. * Ensure the `rustdesk_data` volume is persistent for configuration and state. * Make sure the specified ports are open on your firewall. * The `--platform linux/arm64` is important if you are running on an ARM-based system.