Page MenuHomePhabricator

Blubber: Web From: Generate a Wikibase Docker Compose file
Closed, ResolvedPublic

Description

As an interested part in Wikibase I want to be able to generate a docker compose file in order to install a wikibase without knowing all the ins and outs of the configuration

Problem:
Installing a fresh Wikibase needs a lot of knowledge and also requires docker knowledge and yml editing

Event Timeline

It looks like there are some issue with this.

The generate docker-compose file should not contain the "build" part for any of the services.

For example:

build:
    context: ./wdqs-frontend/latest
    dockerfile: Dockerfile

As then the docker-compose file can't be used without downloading a bunch of other stuff:

$ dc up
ERROR: build path C:\Users\adam\Downloads\Chrome\wikibase\1.30\bundle either does not exist, is not accessible, or is not a valid URL.

The above issue has been fixed in https://github.com/wmde/wikibase-docker-yml-gui/commit/00dd691dc0cfba735a619da6e23cc71b92cb5c2a

Looks like the generated files now work for me:

$ dc up
Creating network "chrome_default" with the default driver
Creating volume "chrome_mediawiki-mysql-data" with default driver
Creating volume "chrome_mediawiki-images-data" with default driver
Creating volume "chrome_query-service-data" with default driver
Creating chrome_wdqs_1 ...
Creating chrome_mysql_1 ...
Gracefully stopping... (press Ctrl+C again to force)