【原创,自有环境】肖俊—RUSTDESK 快速构建脚本

#RUSTDESK服务器搭建
docker run -d –restart=always –name hbbs –net=host -v “/NAS/DOCKER_SERVER/etc/rustdesk/data:/root” -d rustdesk/rustdesk-server:latest hbbs -r 172.16.0.222 -k toplz.cn
docker run -d –restart=always –name hbbr –net=host -v “/NAS/DOCKER_SERVER/etc/rustdesk/data:/root” -d rustdesk/rustdesk-server:latest hbbr

#RUSTDESK 服务器第三方API实现(比较可以)
#https://github.com/lejianwen/rustdesk-api

docker run -d –restart=always –name rustdesk-api -p 21114:21114 \
-v /NAS/DOCKER_SERVER/etc/rustdesk/data/rustdesk/api:/app/data \
-e TZ=Asia/Shanghai \
-e RUSTDESK_API_LANG=zh-CN \
-e RUSTDESK_API_RUSTDESK_ID_SERVER=172.16.0.222:21116 \
-e RUSTDESK_API_RUSTDESK_RELAY_SERVER=172.16.0.222:21117 \
-e RUSTDESK_API_RUSTDESK_API_SERVER=http://172.16.0.222:21114 \
-e RUSTDESK_API_RUSTDESK_KEY=toplz.cn \
lejianwen/rustdesk-api