Skip to content
This repository has been archived by the owner on Sep 30, 2021. It is now read-only.

femiwiki/docker-parsoid

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

40 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Dockerized parsoid server Container Registry

A Parsoid Docker Image. This is originally created for FemiWiki.

Usage

The following command starts a Parsoid container:

docker run -p 8000:8000 [-e MEDIAWIKI_APIS_URI=...] [-e MEDIAWIKI_APIS_DOMAIN=...] ghcr.io/femiwiki/parsoid

Then, access it via http://localhost:8000/\_version in a browser.

Environment Variables

Variables Default Description
PARSOID_NUM_WORKERS 'ncpu' Number of worker processes to spawn.
Set to 0 to run everything in a single process without clustering.
Use 'ncpu' to run as many workers as there are CPU units
MEDIAWIKI_APIS_URI http://http/api.php API path for you wiki. (must be accessible by docker container)
MEDIAWIKI_APIS_DOMAIN femiwiki.com Same as $wgVirtualRestConfig['modules']['parsoid']['domain'] defined in LocalSettings.php (details)
MEDIAWIKI_APIS_PREFIX femiwiki details
MEDIAWIKI_LINTING false details

Build

docker build --tag ghcr.io/femiwiki/parsoid .
docker push ghcr.io/femiwiki/parsoid

 


The source code of femiwiki/parsoid is primarily distributed under the terms of the GNU Affero General Public License v3.0 or any later version. See COPYRIGHT for details.

Sponsor this project

Packages

 
 
 

Contributors 4

  •  
  •  
  •  
  •