Skip to content
Please note that GitHub no longer supports your web browser.

We recommend upgrading to the latest Google Chrome or Firefox.

Learn more
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dockerization of Scholia #966

Open
Daniel-Mietchen opened this issue Dec 3, 2019 · 3 comments
Open

Dockerization of Scholia #966

Daniel-Mietchen opened this issue Dec 3, 2019 · 3 comments

Comments

@Daniel-Mietchen
Copy link
Collaborator

@Daniel-Mietchen Daniel-Mietchen commented Dec 3, 2019

Pasting in some notes from various non-public channels to aid with documentation.

What we need is a combined container for a Scholia instance running on a stand-alone SPARQL endpoint whose timeouts and other configurations we control. Such an endpoint is included in the standard Wikibase Docker at https://github.com/wmde/wikibase-docker , which would be one way to go about this. Since we would want this endpoint to be synced to Wikidata (ideally in real time, though hourly or daily might be OK), we would have to look at
https://www.wikidata.org/wiki/Wikidata:Data_access
and especially
https://www.wikidata.org/wiki/Wikidata:Database_download
as well as existing tooling for handling dumps, e.g. as per
https://www.wikidata.org/wiki/Wikidata:Tools/For_programmers .
Most relevant here seems to be https://www.mediawiki.org/wiki/Wikidata_Toolkit .

Lots of good and bad dockerization out there - a well-documented example that I liked is
https://github.com/grafana/grafana/search?q=is%3Aopen+is%3Aissue+docker&unscoped_q=is%3Aopen+is%3Aissue+docker

@cthoyt

This comment has been minimized.

Copy link
Contributor

@cthoyt cthoyt commented Jan 13, 2020

Do you want help with this?

I could imagine having one Dockerfile that just runs the server, then you could have configuration to point it at any given Wikidata SPARQL instance. This could also be orchestrated with docker-compose

@Daniel-Mietchen

This comment has been minimized.

Copy link
Collaborator Author

@Daniel-Mietchen Daniel-Mietchen commented Jan 16, 2020

Help is always welcome. Perhaps start by checking what @nunogit is doing over at https://github.com/nunogit/scholia-docker .

@nunogit

This comment has been minimized.

Copy link
Collaborator

@nunogit nunogit commented Jan 16, 2020

@cthoyt
There's already a Dockerized version as @Daniel-Mietchen referred.
I am currently running it in Openshift as well.
I have started orchestration with docker-compose, but I am developing a couple of optimizations that I would like to see integrated on a next release.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
3 participants
You can’t perform that action at this time.