项目作者: pastakhov

项目描述 :
Containerized MediaWiki parsoid service
高级语言: Shell
项目地址: git://github.com/pastakhov/docker-parsoid.git
创建时间: 2017-08-08T07:24:46Z
项目社区:https://github.com/pastakhov/docker-parsoid

开源协议:MIT License

下载


Containerized MediaWiki parsoid service

This repo contains Docker container to run the Parsoid application.

It is a part of Containerized Mediawiki install project.

Settings

  • PARSOID_DOMAIN_{domain} defines uri and domain for parsoid service. The ‘{domain}’ word should be the same as MW_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 to 0 to run everything in a single process without clustering. Use ncpu to run as many workers as there are CPU units.
  • PARSOID_LOGGING_LEVEL by default info

Examples

The environment variable PARSOID_DOMAIN_web=http://web/w/api.php creates config contains:

  1. mwApis:
  2. -
  3. uri: 'http://web/w/api.php'
  4. domain: 'web'