Informatievlaanderen / VSDS-Tech-Docs

Technical documentation, part of the VSDS Portal
https://informatievlaanderen.github.io/VSDS-Tech-Docs/
0 stars 9 forks source link

docs/quickstart.md: Replicate an LDES with the LDES Client: doesn't connect to LDES server #15

Closed ghsnd closed 1 year ago

ghsnd commented 1 year ago

The docker compose file in Replicate an LDES with the LDES Client doesn't work out of the box. The issue is that it tries to connect to localhost from outside the ldes network. To fix that, the client can be told to connect to the host's network instead of the Docker network by adding network_mode: host:

services:
  ldes-cli:
    image: ghcr.io/informatievlaanderen/ldes-cli:20230222T0959
    container_name: quick-start_ldes-client-cli
    command: "--url http://localhost:8080/sample/by-page --input-format text/turtle"
    network_mode: host
xdxxxdx commented 1 year ago

@ghsnd ,

Thanks so much for your input, will improve the doc today.

xdxxxdx commented 1 year ago

@ghsnd

Just modified, please have a look the latest version.

Thanks

ghsnd commented 1 year ago

Looks good, thanks!