The collaborative editing software that runs Wikipedia, for Social Coop.
Go to file
3wc 085856f21a Ignore live .envrc 2020-09-06 14:00:55 +02:00
.gitignore Ignore live .envrc 2020-09-06 14:00:55 +02:00
LICENSE Initial import 2020-09-05 01:59:00 +02:00
README.md Rename README 2020-09-05 14:19:47 +02:00
compose.yml Initial import 2020-09-05 01:59:00 +02:00
helpers.sh Initial import 2020-09-05 01:59:00 +02:00

README.md

Mediawiki

Mediawiki 1.32.1.

Requires Docker version 1.11.2 and up

Based on mediawiki-ve-bundle.

  1. Set up Docker Swarm

  2. cp .envrc.sample .envrc

  3. Edit .envrc

  4. direnv allow (or . .envrc)

  5. . .helpers.sh (don't forget the dot!)

  6. create-secrets (note down the passwords!) FIXME: Current function doesn't output passwords 😕

  7. docker stack deploy -c compose.yml mediawiki

  8. Go to the $DOMAIN you configured in #3

  9. Click "Install", then follow the prompts. Enter the root and user passwords you generated in #6

  10. Download the LocalSettings.php, and copy it to the mediawiki_mediawiki container, in /var/www/html, using e.g.

    docker container cp ./local/path/to/LocalSettings.php <containerid>:/var/www/html/
    

License

MIT License