feat: add Docker-based RustDesk Server (hbbs/hbbr) for VPS
- Add docker-compose.vps.yml with hbbs + hbbr services - Update rustdesk-dummy.service with corrected binary path (/usr/share/...) - Update xorg-dummy.service without -nolisten local (fixes socket access) - Update install.sh for dummy driver + EDID fallback approach - Update README with dual setup (host + VPS) and server instructions - VPS: RustDesk Server runs via Docker on ports 21115-21119 - Public key: 5PxKX27ZTJGlu9KjU7YByXQDIw6zS8pKlvqxXsZiw8M=
This commit is contained in:
@@ -9,7 +9,7 @@ User=root
|
||||
Environment="DISPLAY=:0"
|
||||
Environment="XAUTHORITY=/root/.Xauthority"
|
||||
ExecStartPre=/bin/sleep 3
|
||||
ExecStart=/usr/lib/rustdesk/rustdesk --server
|
||||
ExecStart=/usr/share/rustdesk/rustdesk --server
|
||||
Restart=always
|
||||
RestartSec=10
|
||||
|
||||
|
||||
22
docker-compose.vps.yml
Normal file
22
docker-compose.vps.yml
Normal file
@@ -0,0 +1,22 @@
|
||||
version: '3.8'
|
||||
|
||||
services:
|
||||
hbbs:
|
||||
image: rustdesk/rustdesk-server:latest
|
||||
container_name: rustdesk-hbbs
|
||||
command: hbbs -r rustdesk-hbbr:21117
|
||||
volumes:
|
||||
- ./data:/root
|
||||
network_mode: host
|
||||
restart: unless-stopped
|
||||
depends_on:
|
||||
- hbbr
|
||||
|
||||
hbbr:
|
||||
image: rustdesk/rustdesk-server:latest
|
||||
container_name: rustdesk-hbbr
|
||||
command: hbbr
|
||||
volumes:
|
||||
- ./data:/root
|
||||
network_mode: host
|
||||
restart: unless-stopped
|
||||
Reference in New Issue
Block a user