Skip to content

Latest commit

 

History

History
33 lines (19 loc) · 916 Bytes

README.md

File metadata and controls

33 lines (19 loc) · 916 Bytes

nav2_docker_compose

docker compose with micro containers, one for each navitia's service

how to use

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

TODO

  • make it easy to add more kraken instances
  • move the tyr and kraken images to alpine 😉