Public | Automated Build

Last pushed: a year ago
Short Description
Experiment on Container Deployment with Gantryd (Gantry)
Full Description

Experiment on Container Deployment with Gantryd (Gantry)

1. Server Setup

Install docker and gantryd (gantry) on remote host with ansible:

$ ansible -i hosts -l vagrant all -m ping  # ssh connection check
$ ansible-playbook install.yml -i hosts -l vagrant

2. Build Docker Container

Docker container is built via Webhook from Github to Docker Hub: https://hub.docker.com/r/hiogawa/gantryd_trial/

Or, you can build it manually from local:

$ docker build -t hiogawa/gantryd_trial ./node_app
$ docker push hiogawa/gantryd_trial

3. Deploy Docker Container via gantry

$ ansible-playbook deploy.yml -i hosts -l vagrant
Docker Pull Command
Owner
hiogawa
Source Repository

Comments (0)