Sign inSign up

samlerlee/ecloud_computer_auto_boot

By samlerlee

Updated almost 2 years ago

ECloud Computer Auto Boot 移动云电脑自动开机

Image
0

494

samlerlee/ecloud_computer_auto_boot repository overview

ecloud computer auto boot

移动云电脑自动开机

配置

默认读取运行目录中的config.yml作为配置,如果无配置文件,首次运行将会生成一个默认的配置文件

示例配置

cron:
    # 任务执行间隔(秒)
    duration: 60
    # 需要监控的实例 machine id, 如果为空,则监控所有实例
    # 如果需要监控全部实例,请将下面一行的注释去除,并注释掉后面的machines及其子项
    # machines: []
    machines:
        - machine_id_1
        - machine_id_2
secret:
    # 客户端类型, public: 公众版, business: 政企版
    type: public
    # [公众版专用] 登录账号
    username: ""
    # [公众版专用] 登录密码
    password: ""
    # [政企版专用] 移动云 Access Key
    access-key: ""
    # [政企版专用] 移动云 Secret Key
    secret-key: ""
    # [政企版专用] 资源池ID
    pool-id: "CIDC-CORE-00"
server:
    # 是否开启 Debug 模式
    debug: false
    # 日志输出等级,等级划分: debug、info、warning、error,开启 Debug 模式时,此配置无效
    log-level: info

在Docker中使用

在使用镜像运行之前,请您确认您的账号是否能够通过设备信任检查,如果不能,可以先在本地执行信任设备命令。

注意:请您先准备好配置文件,以便在运行时挂载到容器中

使用预构建的镜像

docker run -itd --restart=always -v /path_to_config/config.yml:/app/config.yml --name ecloud_computer_auto_boot samlerlee/ecloud_computer_auto_boot:latest

项目仓库

请访问 Samler-Lee/ecloud_computer_auto_boot,如果在使用过程中遇到问题,欢迎提出 issue

Tag summary

Content type

Image

Digest

sha256:422f88c27

Size

20.4 MB

Last updated

almost 2 years ago

docker pull samlerlee/ecloud_computer_auto_boot