RustDesk

From Indie IT Wiki
Revision as of 14:45, 3 July 2022 by Plittlefield (talk | contribs)

RustDesk is an open source equivalent remote desktop package in the vein of TeamViewer, works out of the box, no configuration required. You have full control of your data, with no concerns about security. You can use our public rendezvous/relay server, or self-hosting, or write your own server.

Installation

Docker

Here is a docker compose file that will install both the RustDesk Server and an NginX Web Server to host your client apps, going through NginX Proxy Manager (NPM).

version: '3'

networks:
  rustdesk-net:
    external: false
  nginx-proxy-manager:
    external: true

services:
  hbbs:
    container_name: hbbs
    ports:
      - 21115:21115
      - 21116:21116
      - 21116:21116/udp
      - 21118:21118
    image: rustdesk/rustdesk-server:latest
    command: hbbs -r rustdesk.mydomain.uk:21117
    volumes:
      - ./hbbs:/root
    networks:
      - rustdesk-net
    depends_on:
      - hbbr
    restart: unless-stopped

  hbbr:
    container_name: hbbr
    ports:
      - 21117:21117
      - 21119:21119
    image: rustdesk/rustdesk-server:latest
    command: hbbr
    volumes:
      - ./hbbr:/root
    networks:
      - rustdesk-net
    restart: unless-stopped

  nginx:
    image: nginx:stable-alpine-perl
    container_name: rustdesk.mydomain.uk-nginx
    restart: always
    networks:
      nginx-proxy-manager:
        ipv4_address: 172.20.0.31
    expose:
      - 80
    environment:
      - TZ=Europe/London
    volumes:
      - ./data/html:/usr/share/nginx/html:ro
      - /etc/timezone:/etc/timezone:ro