Sign inSign up

tmtk75/focuslight

By tmtk75

Updated almost 11 years ago

Provide Focuslight, which is a ruby-clone of GrowthForecast. https://github.com/focuslight/focuslight Running with ruby-2.1.1 on centos. Current version is 0.1.4.

Image
0

1.1K

tmtk75/focuslight repository overview

Introduction

This image provides Focuslight, which is a ruby-clone of GrowthForecast, running with ruby-2.1.1 on centos for the purpose of quick try. Actually, this supports data persistency, it means database and config files can be stored out of containers.

The Dockerfile is here, https://github.com/tmtk75/Dockerfiles/blob/master/focuslight/Dockerfile

How to use

  1. Download this Makefile
  2. make pull init data_container (creates ./focuslight_data)
  3. make run

Then a container for focuslight starts with a data container which name is focuslight_data. You can send requests with curl like

curl -d "number=123" localhost:5125/api/service/section/graph

NOTE: Don't forget port forwarding If you use boot2docker on MacOSX. Then you can do make natpf, which opens 5125 port.

Open http://localhost:5125/list/service/section with your browser so that you can see graphs.

Tag summary

Content type

Image

Digest

sha256:f535fdf15

Size

356.9 MB

Last updated

almost 11 years ago

docker pull tmtk75/focuslight