services: hbbs: ports: - 21115:21115 - 21116:21116 - 21116:21116/udp - 21118:21118 image: rustdesk/rustdesk-server:${RUSTDESK_VERSION} command: hbbs -r ${DOMAIN}:21117 -k _ volumes: - ${STORAGE_PATH}:/root networks: - rustdesk depends_on: - hbbr restart: unless-stopped labels: - "docker.group=rustdesk" hbbr: ports: - 21117:21117 - 21119:21119 image: rustdesk/rustdesk-server:latest command: hbbr -k _ volumes: - ${STORAGE_PATH}:/root networks: - rustdesk restart: unless-stopped labels: - "docker.group=rustdesk" networks: rustdesk: