/moinmoin-wiki

Docker image based on Debian Jessie with the Moinmoin wiki engine, uwsgi, nginx and self signed SSL.

Primary LanguagePythonMIT LicenseMIT

MoinMoin WIKI

Docker image with the Moinmoin Wiki Engine(Version: 1.9.9), uwsgi, nginx and self signed SSL.

Usage

Local Building

  1. Clone this repository
git clone git@github.com:posoo/moinmoin-wiki.git
  1. Build image
docker build --rm=true -t posoo/moinmoin-wiki ./moinmoin-wiki
  1. Start the container
  • Interactive mode
sudo docker run -it -p 443:443 -p 80:80 --name moinomin_wiki posoo/moinmoin-wiki
  • Detached mode (Daemon, runing as a backgroud process)
sudo docker run -d -p 443:443 -p 80:80 --name moinomin_wiki posoo/moinmoin-wiki
  • Detached mode (With the custom Self-Signed SSL info)
docker run -d -p 443:443 -p 80:80 -e domain=seanlin.xyz -e country=CN \
-e state=Yunnan -e locality=Kunming -e organization=Posoo \
--name moinomin_wiki posoo/moinmoin

Access the website

Access the url https://localhost:443

Default superuser is mmAdmin, you activate him by creating a new user named mmAdmin and set your prefered password.

The pages are mounted as volume, so you can take backup of the system from the host.