add VisualEditor and Parsoid config
This commit is contained in:
parent
62b32c798e
commit
7d47280ac6
@ -9,7 +9,8 @@ WORKDIR /
|
|||||||
# Install extensions
|
# Install extensions
|
||||||
ADD add_extension.sh /add_extension.sh
|
ADD add_extension.sh /add_extension.sh
|
||||||
RUN chmod +x 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
|
ADD setup.sh /setup.sh
|
||||||
RUN chmod +x /setup.sh
|
RUN chmod +x /setup.sh
|
||||||
|
@ -7,5 +7,7 @@ It extends [the official image](https://hub.docker.com/_/mediawiki/) with the fo
|
|||||||
* Scribunto
|
* Scribunto
|
||||||
* VisualEditor
|
* VisualEditor
|
||||||
|
|
||||||
|
VisualEditor requires a Parsoid service; see `docker-compose.yml` for example.
|
||||||
|
|
||||||
## Auto-migration
|
## Auto-migration
|
||||||
The image will automatically run migration when a new version is installed.
|
The image will automatically run migration when a new version is installed.
|
||||||
|
@ -17,3 +17,8 @@ services:
|
|||||||
links:
|
links:
|
||||||
- db
|
- db
|
||||||
- cache
|
- cache
|
||||||
|
- parsoid
|
||||||
|
parsoid:
|
||||||
|
image: thenets/parsoid:0.10
|
||||||
|
environment:
|
||||||
|
PARSOID_DOMAIN_web: http://web/api.php
|
||||||
|
Loading…
x
Reference in New Issue
Block a user