docker-compose.yml 659 B

12345678910111213141516171819202122232425262728293031323334353637
  1. version: '3'
  2. networks:
  3. rustdesk-net:
  4. external: false
  5. services:
  6. hbbs:
  7. container_name: hbbs
  8. ports:
  9. - 21115:21115
  10. - 21116:21116
  11. - 21116:21116/udp
  12. - 21118:21118
  13. image: rustdesk/rustdesk-server:latest
  14. command: hbbs -r rustdesk.example.com:21117
  15. volumes:
  16. - ./data:/root
  17. networks:
  18. - rustdesk-net
  19. depends_on:
  20. - hbbr
  21. restart: unless-stopped
  22. hbbr:
  23. container_name: hbbr
  24. ports:
  25. - 21117:21117
  26. - 21119:21119
  27. image: rustdesk/rustdesk-server:latest
  28. command: hbbr
  29. volumes:
  30. - ./data:/root
  31. networks:
  32. - rustdesk-net
  33. restart: unless-stopped