Moinmoin wiki with Gunicorn docker container
Gunicorn (Green Unicorn,绿色独角兽) 是一个WSGI服务器,用来支持Python应用。它是 Ruby 的 Unicorn 服务器的Python实现。Unicorn被设计成轻量级的、易于使用的、并使用许多UNIX特性(UNIX idioms)。Gunicorn不是被设计成面向互联网的 – 它被设计成运行于Nginx之后,缓存慢请求,以及关注其他重要的内容。在 Gunicorn help 能找到 Nginx + Gunicorn 的简单配置步骤。
docker run -it --name moinmoin -v /var/www/moin:/srv/www/moin -p 3301:3301 -d --restart=always twotwo/moinmoin
create .env
, set HOME_SITE
& MOIN_DATA
mkdir -p /var/www/moin
docker cp moinmoin:/usr/local/lib/python2.7/site-packages/MoinMoin/web/static/htdocs /var/www/moin
docker-compose up -d
docker-compose up --build
curl -LOS http://static.moinmo.in/files/moin-1.9.10.tar.gz
# macOS
shasum -a 256 moin-1.9.10.tar.gz
docker cp MoinMoin moinmoin:/usr/local/lib/python2.7/site-packages/
docker run -it --rm -v /srv/www/moin:/srv/www/moin -p 3301:3301 twotwo/moinmoin
If you have any problems with or questions about this image, please contact me through a GitHub issue.