one-click-apps icon indicating copy to clipboard operation
one-click-apps copied to clipboard

App Suggestion: [RustDesk]

Open cvladan opened this issue 2 years ago • 6 comments

Please tell us what app you'd like to see on CapRover as a one-click app.

RustDesk
Open source remote desktop software aka The Open Source TeamViewer Alternative

Do you know if there is any official Docker image for the app? https://github.com/rustdesk/rustdesk-server

cvladan avatar Apr 05 '23 11:04 cvladan

I'll second this!

wraythezw avatar Nov 29 '23 08:11 wraythezw

i vote for it

g2david avatar Jan 06 '24 05:01 g2david

+1

brenner-tobias avatar Aug 23 '24 05:08 brenner-tobias

+1

Is this maybe in someone's 3rd party Repository maybe?

princessskye avatar Oct 09 '24 06:10 princessskye

I don't know how this image is supposed to work, but it's fairly simple based on their instructions. Maybe this works?

  • In one click apps search for TEMPLATE and select that. Paste this template:
captainVersion: 4
services:
    $$cap_appname-hbbs:
        image: rustdesk/rustdesk-server:$$cap_rustdesk_version
        command: hbbs -r $$cap_appname.$$cap_root_domain:21117
        volumes:
            - $$cap_appname-data:/root
        ports:
            - '21115:21115'
            - '21116:21116'
            - '21118:21118'
        depends_on:
            - $$cap_appname-hbbr
        restart: unless-stopped
    $$cap_appname-hbbr:
        image: rustdesk/rustdesk-server:$$cap_rustdesk_version
        command: hbbr
        volumes:
            - $$cap_appname-data:/root
        ports:
            - '21117:21117'
            - '21119:21119'
        restart: unless-stopped

caproverOneClickApp:
    variables:
        - id: $$cap_rustdesk_version
          label: RustDesk Version
          defaultValue: 'latest'
          description: 'Select the version of RustDesk server to deploy. Default is "latest".'
    instructions:
        start: |-
            This CapRover One-Click App deploys RustDesk server with hbbs and hbbr services.
            Before proceeding, ensure you have the correct version selected for deployment.
        end: |-
            RustDesk Server has been successfully deployed! Access the server on the specified ports through your CapRover root domain.
    displayName: RustDesk Server
    isOfficial: false
    description: Deploy RustDesk server with hbbs and hbbr services on CapRover.
    documentation: This configuration is adapted for CapRover from the official RustDesk Docker images.

volumes:
    $$cap_appname-data: {}

githubsaturn avatar Oct 10 '24 05:10 githubsaturn

Based upon the above comment, here's what worked for me (June 2025)

captainVersion: 4
services:
    $$cap_appname:
        image: rustdesk/rustdesk-server:$$cap_rustdesk_version
        command: hbbs -r srv-captain--$$cap_appname-hbbr:21117
        volumes:
            - $$cap_appname-data:/root
        ports:
            - '21114:21114'
            - '21115:21115'
            - '21116:21116'  # UDP
            - '21118:21118'
        depends_on:
            - $$cap_appname-hbbr
        restart: unless-stopped
    $$cap_appname-hbbr:
        image: rustdesk/rustdesk-server:$$cap_rustdesk_version
        command: hbbr
        volumes:
            - $$cap_appname-data:/root
        ports:
            - '21117:21117'
            - '21119:21119'
        restart: unless-stopped

caproverOneClickApp:
    variables:
        - id: $$cap_rustdesk_version
          label: RustDesk Version
          defaultValue: 'latest'
          description: 'Select the version of RustDesk server to deploy. Default is "latest".'
    instructions:
        start: |-
            This CapRover One-Click App deploys RustDesk server with hbbs and hbbr services.
            Before proceeding, ensure you have the correct version selected for deployment.
        end: |-
            RustDesk Server has been successfully deployed! Access the server on the specified ports through your CapRover root domain.
    displayName: RustDesk Server
    isOfficial: false
    description: Deploy RustDesk server with hbbs and hbbr services on CapRover.
    documentation: This configuration is adapted for CapRover from the official RustDesk Docker images.

volumes:
    $$cap_appname-data: {}

Improvements:

  • Added ports mentioned in https://rustdesk.com/docs/en/self-host/rustdesk-server-oss/docker/
  • Access hbbr using internal hostname, no need for domains

Things to note:

  • You'll need the generated public key to configure your client, how to get it 👉 https://rustdesk.com/docs/en/self-host/rustdesk-server-pro/relay/

winstonleedev avatar Jun 10 '25 00:06 winstonleedev