Skip to content
/ wiki Public
forked from Cloudxtreme/wiki-9

wiki is a self-hosted well uh wiki engine or content management system

License

Notifications You must be signed in to change notification settings

nbarnum/wiki

 
 

Repository files navigation

Forked from prologic/wiki to reduce Docker image size.

wiki

GoDoc Go Report Card

wiki is a self-hosted well uh wiki engine or content management system that lets you create and share content in Markdown format.

Source

$ go install github.com/prologic/wiki/...

Usage

Run wiki:

$ wiki

Visit: http://localhost:8000/

Start creating/editing content!

Configuration

By default wiki pages are stored in ./data in the local directory. This can be changed by supplying the -data /path/to/data option.

Docker

Docker image is available at Docker Hub.

Run Docker

docker run -p 8000:8000 nbarnum/wiki

With persistent data storage:

docker run -p 8000:8000 -v /path/to/your/data:/data nbarnum/wiki

To change the "Wiki" branding at the top of the page you can pass an environment variable "WIKI_BRAND":

docker \
  run -p 8000:8000 \
  -v /path/to/your/data:/data \
  -e WIKI_BRAND=MyWiki \
  nbarnum/wiki

Build Docker

docker build -t $USER/wiki .

Remove the intermediate build image (and all other dangling images)

docker system prune

Then run the new image

docker run -p 8000:8000 $USER/wiki

License

MIT

About

wiki is a self-hosted well uh wiki engine or content management system

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Go 68.7%
  • HTML 24.4%
  • Shell 5.9%
  • Makefile 1.0%