Sign inSign up

reyemxela/wikidocs

By reyemxela

•Updated over 5 years ago

Just a databaseless markdown flat-file wiki engine

Image
0

1.5K

reyemxela/wikidocs repository overview

⁠WikiDocs Docker build

This Dockerfile will set up an Apache2/PHP server running WikiDocs⁠.

⁠Configuration

  • PUID/PGID (optional): in linuxserver.io fashion, this sets the UID/GID of the apache user within the container, so you can easily match a user on the host machine. Defaults to 1000/1000 if not set.
  • documents volume: as WikiDocs stores entries as flat-files in plain text, mapping this on the host allows easy access to the wiki content. This can also be a named volume if you prefer.
  • config volume: this folder stores the main config.inc.php file. It's important to map this volume so your info and passcodes remain when recreating/updating the container.

⁠Quick run

docker run -d -p 80:80 -v /path/to/documents:/documents -v /path/to/config:/config -e PUID=1000 -e PGID=1000 reyemxela/wikidocs

⁠docker-compose

version: '2'

services:
  wikidocs:
    image: reyemxela/wikidocs
    environment:
      - PUID=1000
      - PGID=1000
    ports:
      - 80:80
    volumes:
      - /path/to/documents:/documents
      - /path/to/config:/config

Tag summary

Content type

Image

Digest

Size

16.4 MB

Last updated

over 5 years ago

docker pull reyemxela/wikidocs