This repo contains Docker container to run the Parsoid application.
It is a part of Containerized Mediawiki install project.
PARSOID_DOMAIN_{domain}
defines uri and domain for parsoid service. The '{domain}' word should be the same asMW_REST_DOMAIN
parameter in MediaWiki web container. You can specify any number of such variables (by the number of domains for the service)PARSOID_NUM_WORKERS
defines the number of worker processes to the parsoid service. Set to0
to run everything in a single process without clustering. Usencpu
to run as many workers as there are CPU units.PARSOID_LOGGING_LEVEL
by defaultinfo
The environment variable PARSOID_DOMAIN_web=http://web/w/api.php
creates config contains:
mwApis:
-
uri: 'http://web/w/api.php'
domain: 'web'