vliz-be-opsci / k-gap

Knowledge Graph Analysis Platform
MIT License
0 stars 0 forks source link

allow to reconnect to sembench instance #26

Open marc-portier opened 6 months ago

marc-portier commented 6 months ago

Currently the sembench process runs once (or brutaly fails at it) and then exits. This leaves the docker-container inaccesible for further inspection through docker exec -it «myname_kgap_sembench» /bin/bash

There seems to be a --attach flag to docker compose up that can relaunch a certain container -- but that feels like it would just end up existing also?

Anyway, we should investigate and document how docker might allow the required inspection?

If not, we could also introduce an env variable that enables the container to keep running (inside the python or in a surrounding shell script) so the extra connect with docker exec can be executed?

marc-portier commented 6 months ago

started giving this some more thought and came to the conclusion it would be best to have this solved by sembench itself --> https://github.com/vliz-be-opsci/pysembench/issues/14