Run TiddlyWiki 5 via Docker.
Forked from djmaze/tiddlywiki-docker.
The Docker image is available at srini91/tiddlywiki - Docker Hub.
Image Name | Tag | TiddyWiki Version |
---|---|---|
srini91/tiddlywiki | 1.0.0_v5_2_3 | 5.2.3 |
srini91/tiddlywiki | 1.0.0_v5_2_3_armv7 | 5.2.3 |
- Docker.
docker run -d -p 8080:8080 srini91/tiddlywiki:1.0.0_v5_2_3
Now TiddlyWiki should be running on http://localhost:8080.
The container uses a Docker volume to save the wiki data. In order not to lose sight of that, I recommend using a local directory for the volume.
docker run -d -p 8080:8080 -v $(pwd)/.tiddlywiki:/var/lib/tiddlywiki srini91/tiddlywiki:1.0.0_v5_2_3
In this example, the folder $(pwd)/.tiddlywiki
is used for the data.
Authentication is disabled by default. To enable it, simply provide the
USERNAME
and PASSWORD
environment variables.
If you are in a memory-constrained environment, you can provide the
NODE_MEM
environment variable to specify the memory ceiling (in MB)
Set the DEBUG_LEVEL
environment variable to debug
. For example by passing
-e DEBUG_LEVEL=debug
option in docker run
.
Set the PATH_PREFIX
environment variable to customize the path prefix for
serving TiddlyWiki. For example by passing -e PATH_PREFIX=\wiki
option in
docker run
. According to this note, please remember to
configure the client as well.
SET the ANON
env variable to true for readers to be able to access the wiki in case of authentication is enabled