This is a toy example to setup services in Docker containers.
You need to install the following to try this sample:
- Git
- Docker
- Docker Compose
This template include following containers:
- Redis for task queue
- Actual services deployed as Flask-based RESTful API
- Make sure you have Docker installed on your workstation.
- Install docker-compose
- Clone this repository
cd ci-service-template
docker-compose build
docker-compose up
- (For Mac/Windows) Check boot2docker's IP address
- Open the top-level service URL:
http://192.168.59.103/v1
- 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:
Send me an email (kono ucsd edu).