Sign inSign up

nbarnum/wiki

By nbarnum

Updated over 8 years ago

Forked from https://github.com/prologic/wiki to reduce Docker image size.

Image
0

917

nbarnum/wiki repository overview

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

Tag summary

Content type

Image

Digest

Size

5.2 MB

Last updated

over 8 years ago

docker pull nbarnum/wiki