Sign inSign up

qazs/docker-agent

By qazs

•Updated over 10 years ago

Lightweight continuous deployment.

Image
1

1.1K

qazs/docker-agent repository overview

⁠Docker Agent

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

⁠Start mongo:
$ docker run --name mongo -d mongo
⁠Start agent:
$ 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 -d.

⁠Logging

Log file can be found at <path_to_app>/docker-agent.<app_name>.log

⁠Notes

  • C_APPNAME is 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 \.

⁠Workflow

Docker Agent Workflow

Create your own workflow by adding more agents.

Docker Agent Workflow

Tag summary

Content type

Image

Digest

Size

257 MB

Last updated

over 10 years ago

docker pull qazs/docker-agent