Skip to content

docker images and docker compose files for easy navitia's use

License

Notifications You must be signed in to change notification settings

sign0/navitia-docker-compose

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

60 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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 😉

About

docker images and docker compose files for easy navitia's use

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published