1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57
| networks: rustdesk-net: external: false
services: hbbs: container_name: hbbs ports: - 21115:21115 - 21116:21116 - 21116:21116/udp image: rustdesk/rustdesk-server command: hbbs -r 服务器IP:21117 -k 自定义通信密钥 volumes: - /root/docker/rustdesk/root:/root networks: - rustdesk-net depends_on: - hbbr restart: unless-stopped deploy: resources: limits: memory: 64M
hbbr: container_name: hbbr ports: - 21117:21117 image: rustdesk/rustdesk-server command: hbbr -k 自定义通信密钥 volumes: - /root/docker/rustdesk/root:/root networks: - rustdesk-net restart: unless-stopped deploy: resources: limits: memory: 64M
rustdesk-api-server: container_name: rustdesk-api-server image: kingmo888/rustdesk-api-server:latest environment: - CSRF_TRUSTED_ORIGINS=http://服务器IP:21114 - ID_SERVER=服务器IP:21114 volumes: - /root/docker/rustdesk/db:/rustdesk-api-server/db - /etc/timezone:/etc/timezone:ro - /etc/localtime:/etc/localtime:ro networks: - rustdesk-net ports: - "21114:21114" restart: unless-stopped
|