rustdesk-api-server

version: "3.8"
services:
  rustdesk-api-server:
    container_name: rustdesk-api-server
    image: ghcr.io/kingmo888/rustdesk-api-server:latest
    environment:
      - CSRF_TRUSTED_ORIGINS=http://xxx.xxx:21114 #防跨域信任来源,可选
      - ID_SERVER=llii.fun #Web控制端使用的ID服务器
    volumes:
      - /mnt/rustdesk/api/data/serverapidb:/rustdesk-api-server/db #修改/yourpath/db为你宿主机数据库挂载目录
      - /mnt/rustdesk/api/etc/timezone:/etc/timezone:ro
      - /mnt/rustdesk/api/etc/localtime:/etc/localtime:ro
    network_mode: bridge
    ports:
      - "21114:21114"
    restart: unless-stopped

说明:rustdesk