Giter VIP home page Giter VIP logo

moinmoin's Introduction

logo

MoinMoin

Moinmoin wiki on uWSGI docker container

What is MoinMoin?

MoinMoin is an advanced, easy to use and extensible WikiEngine with a large community of users. Said in a few words, it is about collaboration on easily editable web pages.

How to use this image

Hosting a simple wiki (still needs a web server in front of it)

sudo docker run -it --name wiki -p 3031:3031 -d dperson/moinmoin

Complex configuration

sudo docker run -it --name wiki -d dperson/moinmoin
sudo docker run -it --name web --link wiki:wiki -p 80:80 -p 443:443 -d \
            dperson/nginx -u "wiki:3031;/wiki"

A separate nginx site file for moinmoin is available from: moinmoin

Default Admin user is set to 'mmAdmin'. To use, create a new user named 'mmAdmin' and set your desired password. Volums are used, to ease backups, etc.

Configuration

sudo docker run -it --rm dperson/moinmoin -h

Usage: moin.sh [-opt] [command]
Options (fields in '[]' are optional, '<>' are required):
    -h          This help
    -p "</prefix>" Configure URI prefix for wiki, if you want other than
                /wiki required arg: "</prefix>" - URI location
    -s "<super>" Configure superuser (admin ID) for the wiki
                required arg: "<UserName>" - The user to manage the wiki

The 'command' (if provided and valid) will be run instead of moinmoin

ENVIRONMENT VARIABLES

  • PREFIX - An above, set a URI where the app lives, IE /wiki2
  • SUPER - As above, set the super (admin) user for the wiki
  • TZ - Configure the zoneinfo timezone, IE EST5EDT
  • USERID - Set the UID for the app user
  • GROUPID - Set the GID for the app user

Examples

Any of the commands can be run at creation with docker run or later with docker exec -it moin moin.sh (as of version 1.3 of docker).

Start moinmoin, and configure the timezone:

sudo docker run -it -e TZ=EST5EDT -d dperson/moinmoin

Start moinmoin, and configure the prefix URI:

sudo docker run -it -d dperson/moinmoin -p /otherwiki

OR

sudo docker run -it -e PREFIX=/otherwiki -d dperson/moinmoin

Start moinmoin, and configure the super (admin) user:

sudo docker run -it -d dperson/moinmoin -s bob

OR

sudo docker run -it -e SUPER=bob -d dperson/moinmoin

User Feedback

Issues

If you have any problems with or questions about this image, please contact me through a GitHub issue.

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.