thanks for your excellent work porting the WissKI-setup to docker and docker-compose! I really appreciate it!
When I was trying to set things up on my machine, recently, I spent a lot of time figuring out how to have the data survive a restart of the docker-container (docker-compose down && docker-compose up -d) or the system.
The problem appeared at this step of the tutorial when retrieving the repository endpoint: https://wiss-ki.eu/documentation/periphal-software/triple-store
With the old docker-compose in place, the graphdb-container reported a URL containing a randomly generated hostname. And this hostname changed after every restart. (So, I figure, this must a hostname docker assigns randomly after every restart.) This made WissKI-Salz-Adapter loose its connection after restart (at this point of the tutorial where you use the repository endpoint in the configuration of the Salz-Adapter: https://wiss-ki.eu/documentation/data-modeling/ontology-engineering/import-export-ontology)...
My changes assign a fixed hostname to the graphdb-container. Now, when retrieving the URL of a graphdb-repository-endpoint, a constant hostname is reported back and the Salz-Adapter-Connection survives a restart as well.
Hi,
thanks for your excellent work porting the WissKI-setup to docker and docker-compose! I really appreciate it!
When I was trying to set things up on my machine, recently, I spent a lot of time figuring out how to have the data survive a restart of the docker-container (
docker-compose down && docker-compose up -d
) or the system.The problem appeared at this step of the tutorial when retrieving the repository endpoint: https://wiss-ki.eu/documentation/periphal-software/triple-store With the old docker-compose in place, the graphdb-container reported a URL containing a randomly generated hostname. And this hostname changed after every restart. (So, I figure, this must a hostname docker assigns randomly after every restart.) This made WissKI-Salz-Adapter loose its connection after restart (at this point of the tutorial where you use the repository endpoint in the configuration of the Salz-Adapter: https://wiss-ki.eu/documentation/data-modeling/ontology-engineering/import-export-ontology)...
My changes assign a fixed hostname to the graphdb-container. Now, when retrieving the URL of a graphdb-repository-endpoint, a constant hostname is reported back and the Salz-Adapter-Connection survives a restart as well.
Best Mirco