rustdesk的架设教程
1、新建三个路径:
/volume1/docker/rustdesk
/volume1/docker/rustdesk/hbbr
/volume1/docker/rustdesk/hbbs
2、进入第一个路径:
cd /volume1/docker/rustdesk
3、新建docker-compose.yml
vim docker-compose.yml
version: '3'
networks:
rustdesk-net:
external: false
services:
hbbs:
container_name: hbbs
ports:
- 21115:21115
- 21116:21116
- 21116:21116/udp
- 21118:21118
image: rustdesk/rustdesk-server:latest
command: hbbs -r 526656.asia:21117 # hbbs.example.com改成
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
按i,修改;按esc,后 :wq ;退出
ctrl+c返回
4、运行
docker-compose up -d
5、下载并安装客户端(https://rustdesk.com/zh/)
6、配置客户端
key在这里拿
评论区