Idea: Setup HuBot inside a Docker container and run it on AWS. Automatically build and deploy it with CirclCI.
- Setup new EC2 Container Instance as described here
- Register task definition aws ecs register-task-definition --cli-input-json file://$HOME/../hubot-aws-task.json
- Start task instances aws ecs run-task --cluster default --task-definition hubot:X --count 1
docker build -t tatsu .
docker run -e HUBOT_SLACK_TOKEN=xxx -d tatsu
-
Add the following line in the dockerfile to install the NodeJS module:
RUN npm install [MyHuBotModule] --save && npm install
-
Extend the external-scripts.json file with the name of the NodeJS module:
[ "...", "MyHuBotModule" ]
- Persistent brain (Redis?)
- Rights & Roles