Giter Site home page Giter Site logo

docker-parsoid's Introduction

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.

docker-parsoid's People

Contributors

dependabot[bot] avatar lens0021 avatar love-adela avatar simnalamburt avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar

docker-parsoid's Issues

Configuraion

현재 url 등에 아예 페미위키 도메인이 적혀 있어서 다른 곳에서는 이 이미지를 그대로 사용할 수 없습니다. 변형할 수 있으면 좋겠습니다.

리버스 프록시 관련 설정

If your wiki is inside a reverse proxy configuration or similar, you can set the hostname in uri to an internal hostname or IP that actually points to your wiki internal IP address, to avoid requests going to the public IP address and then routed back again to the internal server. However, be sure that your web server actually routes requests with that hostname to the wiki (if the server is configured to serve different things for multiple sites or subdomains).
-- https://www.mediawiki.org/wiki/Parsoid/Setup#Configuration

뭔지 잘 모르겠는데 일단 메모삼아 이슈 열어놓습니다.

파소이드 버전업

https://github.com/femiwiki/parsoid

페미위키가 이제 최신 미디어위키를 쓰기때문에, 파소이드 버전을 올릴 수 있다.

Activity

  • Hyeon Kim added this card to Backlog Oct 7 at 3:58 AM
  • Hyeon Kim joined this card Oct 7 at 3:58 AM
  • 낙엽 moved this card from Backlog to 막힘/리뷰대기중 Oct 31 at 2:12 PM
  • 낙엽 joined this card Oct 31 at 2:12 PM
  • 낙엽 Oct 31 at 2:12 PM
    0.9.0이 되었습니다
  • Hyeon Kim moved this card from 막힘/리뷰대기중 to 완료 Nov 3 at 3:38 PM

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.