Comments (6)
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.
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.
from headway.
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.
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.
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)
- The place URL doesn't update with subsequent searches unless you click "clear" HOT 1
- The map should start more zoomed in when possible HOT 1
- Allow to select other POIs while one is already selected HOT 5
- Show more data about POI when clicked HOT 1
- Change cursor when hovering over a POI HOT 1
- "Show my location" feature HOT 3
- _ HOT 6
- What format are the codes in the `--countries` build argument? HOT 3
- Increase `retry_count` pelias/services/wait.sh or make configurable HOT 5
- valhalla-build-polylines aborts HOT 2
- Headway, helm & hardening HOT 2
- Headway shows trip-items as "Walk" instead of "Subway" HOT 2
- about.maps.earth certificate error HOT 1
- Is there more documentatin besides BUILD.md HOT 5
- Error when building with north-america-latest HOT 2
- Integrating Overture Map's "Places theme"? HOT 1
- README seems incomplete or maybe it's a me issue? HOT 2
- error: Earthfile line 401:4 copy artifact: apply build +gtfs-get-mobilitydb: earthfile2llb for +gtfs-get-mobilitydb: parse target name +debian:bookworm-slim: target name debian:bookworm-slim does not match ^[a-z][a-zA-Z0-9.\-]*$ HOT 18
- Fix build on macos HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from headway.