docker compose with micro containers, one for each navitia's service
You'll need docker and docker-compose (tested with docker v1.12.1 and docker-compose v1.8.1)
Build the images:
docker-compose build
run them all
docker-compose up
you can then add some data in the default
coverage:
The input dir in in tyr_beat
in /srv/ed/input/<name_of_the_coverage>
.
The easiest way is to copy the data via docker:
docker cp data/dumb_ntfs.zip navitiadockercompose_tyr_worker_1:/srv/ed/input/default/
navitiadockercompose_tyr_worker_1
is the name of the container, it can be different since it's dependant of the directory name.
(or you can change the docker-compose and make a shared volume).
Then you can query jormungandr:
http :9191/v1/coverage/default/lines
- make it easy to add more kraken instances
- move the tyr and kraken images to alpine 😉