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_DOMAINparameter in MediaWiki web container. You can specify any number of such variables (by the number of domains for the service)PARSOID_NUM_WORKERSdefines the number of worker processes to the parsoid service. Set to0to run everything in a single process without clustering. Usencputo run as many workers as there are CPU units.PARSOID_LOGGING_LEVELby defaultinfo
The environment variable PARSOID_DOMAIN_web=http://web/w/api.php creates config contains:
mwApis:
-
uri: 'http://web/w/api.php'
domain: 'web'