-
Notifications
You must be signed in to change notification settings - Fork 0
Home
Welcome to the wikibase-everywhere wiki!
To host the WBS on you local machine
* git clone https://github.com/wmde/wikibase-release-pipeline
* cd wikibase-release-pipeline/deploy
* git checkout deploy-3
Next, make a copy of the configuration template in the wikibase-release-pipeline/deploy directory.
cp template.env .env
Before proceeding to the next step, there's an additional requirement: you need to add the following code snippet to each service in the docker-compose.yml file:
platform: linux/amd64
see the example below
Afterwards, you start the composer file within the wikibase-release-pipeline/deploy
using cmd:
docker compose up --wait
This command starts all the services defined in the docker-compose.yml file
docker compose up launches the services in your docker-compose.yml file (which could include databases, web servers, or other containers). The --wait flag tells Docker to wait for the services to be fully initialized and ready before completing the command.
Once all services are up, you will see an output indicating the status of each container, with most of them showing as "Healthy"
Once all the services are up and running with Docker Compose, each service will typically be accessible internally through the internal network created by Docker Compose.
Docker Compose automatically creates a default network for the containers and assigns them service names that can be used as hostnames to access the services.
On the other hand, If you need to stop the services for any reason, make sure you are in the wikibase-release-pipeline/deploy directory, then run the following command to bring down the Docker Compose services:
docker compose down
If the services are in "Healthy state" then you can access all the services at:
- Wikibase, e.g., "wikibase.example.com"
- QueryService, e.g., "wdqs-frontend.example.com"
- QuickStatements, e.g., "quickstatements.example.com"