Skip to content

lloydsun/tiddlywiki-docker

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

56 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TiddliWiki 5 Docker image

Run TiddlyWiki 5 via Docker.

Origin: djmaze/tiddlywiki-docker.

Forked from m0wer/tiddlywiki-docker.

The Docker image is available at lloydsun/tiddlywiki - Docker Hub.

Available Docker Images at DockerHub

Image Name Tag TiddyWiki Version
lloydsun/tiddlywiki latest 5.2.3
lloydsun/tiddlywiki v[X] [X]
lloydsun/tiddlywiki test ?

Prerequisites

  • Docker.

Quickstart

docker run -d -p 8080:8080 m0wer/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 directory for the volume.

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

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

Authentication

Authentication is disabled by default. To enable it, simply provide the USERNAME and PASSWORD environment variables.

Other settings

Limit Node.js memory

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

Debug

Set the DEBUG_LEVEL environment variable to debug. For example by passing -e DEBUG_LEVEL=debug option in docker run.

Path prefix

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.

About

NodeJS based TiddlyWiki 5 Docker image.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Shell 80.2%
  • Dockerfile 19.8%