Skip to content

Latest commit

 

History

History
45 lines (31 loc) · 1.39 KB

readme.md

File metadata and controls

45 lines (31 loc) · 1.39 KB

alt text

Ugly Duckling SkyNet prototype

Getting started

Run dockers\build.sh all to build all the containers. To reproduce demo run monitordemo.sh. The demo video can be found here http://youtu.be/HQ08ezUKORw

Introduction

This project consists of a set of Docker containers that use Serf agents to comunicate with each other. Each folder contains:

  • build.sh (creates the Docker image. This can take a while when first run as large downloads maybe needed)
  • start.sh (starts the container(s))
  • stop.sh (stops container and removes the container)

In some case there are additional scripts to make your life easier.

  • restart.sh (stops any running and than starts)
  • rebuild.sh (executes stop, build, run this can be handy when working on code running inside container)

Current Models

Serf

This is the based image that has the Serf agent inside all others are build upon this image (directly or indirectly). Any general messaging logic should go here.

Apache

This image has basic Apache inside.

Php

Add php to Apache

Monitor

The monitor is a php script that shows the messages being send over the network for now. (Maybe later we can add the status of all machines.)

Planned projects:

  • Load Balancer
  • Creator