version: '3' services: hbbs: container_name: hbbs image: rustdesk/rustdesk-server:latest command: hbbs -k _ volumes: - ./data:/root network_mode: "host" depends_on: - hbbr restart: unless-stopped hbbr: container_name: hbbr image: rustdesk/rustdesk-server:latest command: hbbr -k _ volumes: - ./data:/root network_mode: "host" restart: unless-stopped
docker compose up -d
docker compose logs -f
everstar@pve-rustdesk:~$ ls data/ db_v2.sqlite3 db_v2.sqlite3-shm db_v2.sqlite3-wal id_ed25519 id_ed25519.pub everstar@pve-rustdesk:~$ more data/id_ed25519.pub wxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxM=