NodeJS based TiddlyWiki 5 Docker image.
Find a file
Martin Honermeyer bb10014206 Merge pull request #7 from dwurf/alpine
Use node:alpine as base image
2017-09-18 22:39:36 +02:00
Dockerfile Use alpine as base image 2017-07-08 15:44:31 +10:00
init-and-run-wiki Fix not starting due to /bin/bash dependency 2017-07-08 16:16:50 +10:00
README.md Add NODE_MEM env variable to control memory usage 2017-07-08 15:52:39 +10:00

Run TiddlyWiki 5 via docker.

Prerequisites

Install docker.

Quickstart

sudo docker run -d -p 8080:8080 mazzolino/tiddlywiki

Now TiddlyWiki should be running on http://localhost:8080.

Keeping the data

The container uses a Docker volume to save the wiki data. In order not to lose sight of that, I recommend using a local folder for the volume.

sudo docker run -d -p 8080:8080 -v $(pwd)/.tiddlywiki:/var/lib/tiddlywiki mazzolino/tiddlywiki

In this example, the folder $(pwd)/.tiddlywiki is used for the data.

Auth

Default auth is user / wiki

Simply provide the USERNAME and PASSWORD env variables to customise.

Other settings

If you are in a memory-constrained environment, you can provide the NODE_MEM environment variable to specify the memory ceiling (in MB)