Both --input and --url are optional (#24)

- They are no longer mutually exclusive
- Input-independent default graph-cache location - `/data/default-gh'
- Resolve #23

Technical changes:
- Simplify handling: of script variables and their defaults
   - Remove complex configuration handling and copy
   - Remove unused variables
- Modify "our" copy of `config-example.yml` to enable http connections from outside of the container
- Update and clarify the help text
هذا الالتزام موجود في:
zstadler
2022-11-22 10:04:25 +02:00
ملتزم من قبل GitHub
الأصل 5a795d28d9
التزام 683f91026c
2 ملفات معدلة مع 22 إضافات و48 حذوفات

عرض الملف

@@ -18,9 +18,12 @@ COPY --from=build /graphhopper/web/target/graphhopper*.jar .
COPY graphhopper.sh graphhopper/config-example.yml .
# Enable connections from outside of the container
RUN sed -i '/^ *bind_host/s/^ */&# /p' config-example.yml
VOLUME [ "/data" ]
EXPOSE 8989
EXPOSE 8989 8990
HEALTHCHECK --interval=5s --timeout=3s CMD curl --fail http://localhost:8989/health || exit 1