You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm running Wikibase locally for experimentation purposes. In this section, I describe the installation process that I followed for getting it running.
I downloaded the files in the example directory from the main branch as of the time of this writing (permalink to commit). I didn't made a single modification to these files.
I then ran the docker-compose command as shown below.
$ docker-compose -f docker-compose.yml -f docker-compose.extra.yml up -d
WARN[0000] The "OAUTH_CONSUMER_KEY" variable is not set. Defaulting to a blank string.
WARN[0000] The "OAUTH_CONSUMER_SECRET" variable is not set. Defaulting to a blank string.
[+] Running 15/15
⠿ Network wikibase-docker_default Created 0.0s
⠿ Volume "wikibase-docker_query-service-data" Created 0.0s
⠿ Volume "wikibase-docker_shared" Created 0.0s
⠿ Volume "wikibase-docker_elasticsearch-data" Created 0.0s
⠿ Volume "wikibase-docker_mediawiki-mysql-data" Created 0.0s
⠿ Volume "wikibase-docker_quickstatements-data" Created 0.0s
⠿ Container wikibase-docker-mysql-1 Started 4.4s
⠿ Container wikibase-docker-wdqs-1 Started 4.1s
⠿ Container wikibase-docker-elasticsearch-1 Started 4.3s
⠿ Container wikibase-docker-wikibase_jobrunner-1 Started 5.0s
⠿ Container wikibase-docker-wikibase-1 Started 5.0s
⠿ Container wikibase-docker-wdqs-proxy-1 Started 4.6s
⠿ Container wikibase-docker-wdqs-frontend-1 Started 5.0s
⠿ Container wikibase-docker-wdqs-updater-1 Started 2.1s
⠿ Container wikibase-docker-quickstatements-1 Started 2.1s
The context
I'm running Wikibase locally for experimentation purposes. In this section, I describe the installation process that I followed for getting it running.
I downloaded the files in the
example
directory from themain
branch as of the time of this writing (permalink to commit). I didn't made a single modification to these files.example/docker-compose-extra.yml
(permalink)example/docker-compose.yml
(permalink)example/extra-install.sh
(permalink)example/jobrunner-entrypoint.sh
(permalink)example/template.env
(permalink)I then ran the
docker-compose
command as shown below.At this point, I could
curl
(see code block below).The problem
As you can see in the screenshot below, the URLs for the entities use
wikibase.svc
instead oflocalhost
.When I click in the link http://wikibase.svc/entity/P1 (second row in the results in the screenshot above), I see the following in Firefox.
When I click in the link http://wikibase.svc/entity/Q1 (third row in the results in the screenshot above), I see the following in Firefox.
The question
How to change the HOST that is used for the entities in WDQS?
I would expect these URLs to be http://localhost/entity/Q1 and http://localhost/entity/P1 instead of http://wikibase.svc/entity/P1 and http://wikibase.svc/entity/Q1.
The text was updated successfully, but these errors were encountered: