plutoid / twiki-docker

Docker container for Twiki

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

TWiki-Docker

A Dockerized TWiki

USAGE

All Data will be stored under /data. You should attach some external storage there -v /mnt/twiki:/data

The following environment variables are parsed and used at the moment

VAR default description
ADMIN_PW changeme Administrator Password
URL_HOST http://localhost:80 Full URL ( as received by the webserver )
SCRIPT_PATH /bin URI Path to "bin"
PUP_PATH /pub URI Path to "pub"

Example

docker run --name twiki -dt -p 8080:80 -v /home/data/:/data -e URL_HOST=http://10.11.12.13:8080/ -e ADMIN_PW=pass1234 twiki

debug

cat /data/data/warn201809.txt
..
| 2018-09-05 - 22:48:43 | Registration failed: RCS: failed to create file /var/www/twiki/data/Main/TWikiUsers.txt: Permission denied at /var/www/twiki/lib/TWiki/Store/RcsFile.pm line 910.
...
# change to right permission

About

Docker container for Twiki


Languages

Language:Dockerfile 39.1%Language:Shell 35.3%Language:Perl 25.6%