Giter VIP home page Giter VIP logo

Comments (6)

michaelkirk avatar michaelkirk commented on May 24, 2024

Hello!

I haven't tested transitmux with containers other than what is built by the Earthfile, but if you have an OTP instance at a different URL, it should work without having to rebuild any containers. You'll only need to override the container's arguments.

With docker/compose this is via the CMD parameter, or if you're using kubernetes, the same thing is (more reasonably) called args.

https://docs.docker.com/engine/reference/run/#overriding-dockerfile-image-defaults

from headway.

spammads avatar spammads commented on May 24, 2024

I get that.
But I was asking what's the correct way to pass multiple instances to the transitmux-container.
Is this supposed to work?

CMD ["http://opentripplanner_berlin:8080/otp/routers","http://opentripplanner_vienna:8080/otp/routers"]

from headway.

michaelkirk avatar michaelkirk commented on May 24, 2024

from headway.

spammads avatar spammads commented on May 24, 2024

No luck. I cant get it to work.
I wonder why my OTP-Service is reachable with http://opentripplanner:8000 when I explicitly name the container opentripplanner_berlin

from headway.

michaelkirk avatar michaelkirk commented on May 24, 2024

Are you running in kubernetes or docker compose?

Can you share any of the corresponding configuration?
Can you share any specific error output that you're seeing?

from headway.

spammads avatar spammads commented on May 24, 2024

Managed to get it to work after I put OTP behind a reverse proxy.
Running docker swarm.

A direct call via http://opentripplanner_berlin:8080 did not work.
It seems that there is another layer where the Transitmux-Container can reach the OTP-instance generated by the Earthfile via http://opentripplanner:8000 although this Container is named opentripplanner_berlin.
I just dont get where this happens.
But your code is working. It's just an understanding issue of mine.
Thanks for your work and help.
I much appreciate it.

from headway.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.