capistrano-fig

Manage fig on servers using Capistrano.

Installation

Gem install:

gem install capistrano-fig

Or add it to your bundle:

gem 'capistrano-fig', '0.0.1', git: 'github.com/dieb/capistrano-fig.git', require: false

Setup

Append the following to your Capfile:

require 'capistrano/fig'

Now you can run commands like

$ cap production fig:ps

against Docker hosts specified on the production deploy spec.

Available commands

  • fig:kill[container]
  • fig:logs
  • fig:port[service,private_port]
  • fig:ps
  • fig:pull
  • fig:start[service]
  • fig:stop[service]
  • fig:restart[service]
  • fig:up