Public | Automated Build

Last pushed: a year ago
Short Description
Building the based hubot-weixin docker for convenient usage.
Full Description

node - v5.9.1
npm - v3.8.1
hubot - v2.18.0
hubot-weixin - v1.0.6

  • Please prepare below config files on host
    • config.yaml with your login info: cookie, Uin, SKey, deviceId
      • For starting in docker, please set logToFile: true and wxLogPath: "/root/hubot/wxhubot.log"
      • e.g. /home/kasper/dockerHubot/config.yaml
    • hubot scripts directory
      • e.g. /home/kasper/dockerHubot/scripts
  • start-up command. Please note using -v(volume) to map your config file and log file path on your host.

    • docker run -d -v /home/kasper/dockerHubot/scripts:/root/hubot/scripts -v /home/kasper/dockerHubot/config.yaml:/root/hubot/node_modules/hubot-weixin/config.yaml -v /home/kasper/dockerHubot/wxhubot.log:/root/hubot/wxhubot.log kasperdeng/hubot-weixin

    • [debugging] Use this command to enter the docker instance. docker run -it -v /home/kasper/dockerHubot/scripts:/root/hubot/scripts -v /home/kasper/dockerHubot/config.yaml:/root/hubot/node_modules/hubot-weixin/config.yaml -v /home/kasper/dockerHubot/wxhubot.log:/root/hubot/wxhubot.log kasperdeng/hubot-weixin /bin/sh

Docker Pull Command
Owner
kasperdeng
Source Repository

Comments (0)