Docker Agent is a lightweight continuous deployment tool, perfect for dev and stage (single server) environments. Simply push your code to Github or Bitbucket and watch your app being deployed magically!
How to use
- Make sure you have Docker installed.
- Create an account at https://deploy-qazs.c9users.io/signup.
- Add webhook to your repository.
$ docker run --name mongo -d mongo
$ docker run --name agent-deploy \ --link mongo \ -e C_APPNAME=<app_name> \ -e C_APPKEY=<app_key> \ -e C_APPBRANCH=<app_branch> \ -e STATUS_TO_CHECK=waiting,error \ -v <path_to_app>:/r -v <path_to_private_key>:/root/.ssh/key \ -it --rm qazs/docker-agent
You can run docker agent in the background using
Log file can be found at
C_APPNAMEis the unique job name. Do not confuse with your repository name.
C_APPBRANCH(Optional) is the repository's branch to check for. Defaults to 'master'.
- If your repository is public, you may omit this line
-v <path_to_private_key>:/root/.ssh/key \.
Create your own workflow by adding more agents.