/ci-service-diffusion

Toy example to setup simple service with task queue.

Primary LanguagePythonMIT LicenseMIT

Cytoscape CI Service Template

What is this?

This is a toy example to setup services in Docker containers.

Requirments

You need to install the following to try this sample:

  • Git
  • Docker
  • Docker Compose

Services

This template include following containers:

  • Redis for task queue
  • Actual services deployed as Flask-based RESTful API

Quick Start

  1. Make sure you have Docker installed on your workstation.
  2. Install docker-compose
  3. Clone this repository
  4. cd ci-service-template
  5. docker-compose build
  6. docker-compose up
  7. (For Mac/Windows) Check boot2docker's IP address
  8. Open the top-level service URL: http://192.168.59.103/v1
  9. If you can see the following, the services are running:
{
	"serviceName": "Cytoscape CI template service",
	"version": "0.1.0"
}

For more information, read this wiki:

Questions?

Send me an email (kono ucsd edu).