add VisualEditor and Parsoid config

This commit is contained in:
Adrian Kuschelyagi Malacoda 2019-06-16 00:57:51 -05:00
parent 62b32c798e
commit 7d47280ac6
3 changed files with 9 additions and 1 deletions

View File

@ -9,7 +9,8 @@ WORKDIR /
# Install extensions
ADD add_extension.sh /add_extension.sh
RUN chmod +x add_extension.sh
RUN ./add_extension.sh Scribunto $MEDIAWIKI_BRANCH
RUN ./add_extension.sh Scribunto $MEDIAWIKI_BRANCH && \
./add_extension.sh VisualEditor $MEDIAWIKI_BRANCH
ADD setup.sh /setup.sh
RUN chmod +x /setup.sh

View File

@ -7,5 +7,7 @@ It extends [the official image](https://hub.docker.com/_/mediawiki/) with the fo
* Scribunto
* VisualEditor
VisualEditor requires a Parsoid service; see `docker-compose.yml` for example.
## Auto-migration
The image will automatically run migration when a new version is installed.

View File

@ -17,3 +17,8 @@ services:
links:
- db
- cache
- parsoid
parsoid:
image: thenets/parsoid:0.10
environment:
PARSOID_DOMAIN_web: http://web/api.php