Informatievlaanderen / VSDS-LDES-E2E-testing

End-to-end tests and tooling needed for testing LDES components build as part of VSDS
European Union Public License 1.2
5 stars 2 forks source link

LDES client sink Docker documentation missing dependency on MongoDB #40

Closed Krieke closed 2 years ago

Krieke commented 2 years ago

https://github.com/Informatievlaanderen/VSDS-LDES-E2E-testing/tree/main/ldes-client-sink#docker

When one currently tries to build and run the docker image the following error occures due to the fact that it has a dependency on MongoDB. This part is documented when running locally, but not in the Docker section where I think it would be good to provide a docker.compose.yml

Arguments: { _: [], host: '0.0.0.0', port: 80 } Error: ERR_AVVIO_READY_TIMEOUT: plugin did not start in time: bound _encapsulateThreeParam. You may have forgotten to call 'done' function or to resolve a Promise at Timeout._onTimeout (/usr/vsds/sink/node_modules/avvio/boot.js:439:21) at listOnTimeout (node:internal/timers:564:17) at process.processTimers (node:internal/timers:507:7) { code: 'ERR_AVVIO_READY_TIMEOUT', fn: [Function: bound _encapsulateThreeParam] }

Krieke commented 2 years ago

Validated the scenario with and without docker-compose.yml and validated the documentation.