services: hbbs: container_name: hbbs image: rustdesk/rustdesk-server:latest # Specify your VPS IP or domain with -r and add -k _ at the end. command: hbbs -r rustdesk.example.com:21117 -k _ volumes: - ./data:/root network_mode: host restart: unless-stopped hbbr: container_name: hbbr image: rustdesk/rustdesk-server:latest # Also add -k _ command: hbbr -k _ volumes: - ./data:/root network_mode: host restart: unless-stopped