Skip to content

pastakhov/docker-parsoid

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 

Repository files navigation

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:

mwApis:
  -
    uri: 'http://web/w/api.php'
    domain: 'web'

About

Containerized MediaWiki parsoid service

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages