openmove / odh-mentor-otp

https://mobility.meran.eu
1 stars 3 forks source link

config api host:port via environment vars in otp-react-redux #26

Closed ghost closed 4 years ago

ghost commented 4 years ago

configure host and port(at build time of docker image) https://github.com/openmove/odh-mentor-otp/blob/master/otp-app/config.yml#L2

related to this closed: https://github.com/openmove/odh-mentor-otp/issues/25

ghost commented 4 years ago

work in progress in branch: https://github.com/openmove/odh-mentor-otp/tree/env-config-api-host

ghost commented 4 years ago

pass env var to mastarm builder tool: https://github.com/conveyal/mastarm#configuration

ghost commented 4 years ago

opened issue looking for suggestions: https://github.com/opentripplanner/otp-react-redux/issues/244

ghost commented 4 years ago

@zabuTNT solved using a generic tool here: https://github.com/openmove/odh-mentor-otp/blob/development/otp-app/envtmpl.js useful in other cases