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..