shipment / deploy

docker container that watches for git pushes and deploys
0 stars 0 forks source link

deploy

Shipment Deploy is a docker container that will manage deployments on your server. It exposes an api for deploying docker containers from github repos.

Features

Requirements

Usage

docker run -v /var/run/docker.sock:/var/run/docker.sock -e GH_USERNAME=username -e GH_TOKEN=token -e SECRET=secret -p 5000 shipment/deploy

API

http://${server host}:${deploy port}/deploy?org=${org}&repo=${repo}&branch=${branch}&secret=${secret}`

Auto Deployment from Github Webhooks

Docker Options

The deploy script will automatically look for autodeploy.json in your repo's folder. In there you can set additional docker args:

{
  "dockerargs": "-e NODE_ENV=production"
}