Rustdesk Server Self Host Docker
Super Admin 18-07-2024 194 Tutorial
Cara buat rustdesk server dengan hosting sendiri agar lebih cepat koneksinya dengan menggunakan docker dan vps, saya menggunakan docker compose, buat file composenya
nano docker-compose.yml
isinya berupa :
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 domain_anda:21117
volumes:
- ./data:/root
networks:
- rustdesk-net
depends_on:
- hbbr
restart: unless-stopped
hbbr:
container_name: hbbr
ports:
- 21117:21117
- 21119:21119
image: rustdesk/rustdesk-server:latest
environment:
- "LIMIT_SPEED=50"
- "TOTAL_BANDWIDTH=1024"
- "SINGLE_BANDWIDTH=30"
command: hbbr
volumes:
- ./data:/root
networks:
- rustdesk-net
restart: unless-stopped
kemudian save dan jalankan perintah :
docker-compose pull -d