Project

mr-shipper

0.0
Low commit activity in last 3 years
No release in over a year
The simple way to deploy docker-compose based apps
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Runtime

~> 0.8
~> 7.1
 Project Readme

Build Status Maintainability codebeat badge

mr-shipper

Easy going shipment for your docker-compose apps

Install

$ gem install mr-shipper

Configure

You need to create your own shipper.yml file with the content similar to:

services:
  production:
    frontend:
      path: "./sample-fronted"
      before_build:
        - "yarn build"
      repo: "<dockerhub-nickname>/sample-fronted"
      args:
        foo: "bar"
    backend:
      path: "./sample-backend"
      repo: "<dockerhub-nickname>/sample-backend"
hosts:
  production:
    ssh_entry: "user@host"
    location: "~/apps/sample"

Use

  • To ship all services in your shipper.yml

    $ ship

    Note: it ships production environment

  • To specify the list of services which need to be shipped

    $ ship production frontend super_api ...

  • To recreate containers on host

    $ ship production restart

  • To specify custom ssh port

    ssh_entry: "user@host:123

And so.. that's all for now. To be expanded with more cooler configurations for different hosts and so on..