This repo contains Docker images needed to setup a local Wikibase instance and a query service.
Each image contained within this repo has its own README with more detailed information:
||MediaWiki with the Wikibase extension||README|
||Blazegraph SPARQL query service backend||README|
||Proxy to make the query service READONLY and enforce query timeouts||README|
||UI for the SPARQL query service||README|
||UI to add data to Wikibase||README|
Docker compose example
This repo contains an EXAMPLE docker compose setup for Wikibase (specified in the docker-compose.yml file) that combines the images described above to set up a fully-featured local Wikibase environment. You can use that file as a base to build a custom environment tailored to your needs.
To try it out, make sure you have Docker installed, then just clone this repository, enter its directory and run
docker-compose up -d. Once that step completes, you should have:
- a MediaWiki wiki fully configured with Wikibase, available at http://localhost:8181
- a Wikidata Query Service instance available at http://localhost:8282
- a QuickStatements instance, available at http://localhost:9191
Note that the Wikibase instance has no data; no items or properties. To add some data, use the
Special:NewProperty pages in the local wiki; then you can add statements to the added items using the properties you defined.
For more information about this example enviroment, please see the README-compose.md file.
For beginner-friendly light reading on the subject of using these images / this repo, check out the posts under this tag, specifically: