a simple Docker image to host a TiddlyWiki using Node.js
1.1K
This is a simple, flexible Docker image for hosting a TiddlyWiki using Node.js. It leaves much of how things should be run up to the end user.
To initialise a new wiki using a local folder (~/my_wiki) as a volume for configuration and all tiddlers:
$ docker run -v ~/my_wiki:/wiki ioces/tiddlywiki /wiki --init server
To serve the same wiki on port 80 locally:
$ docker run --init -v ~/my_wiki:/wiki -p 127.0.0.1:80:8080 ioces/tiddlywiki /wiki --listen host=0.0.0.0
Obviously more complicated setups can be configured using docker-compose.
A few points to note:
tiddlywiki, so any arguments you'd normally use with it can also be utilised.--init, because the core tiddlywiki executable does not handle signals properly, and without it the container needs to be forced to end.0.0.0.0 binds to all available IPv4 interfaces in the container), otherwise TiddlyWiki will simply serve to localhost inside the container.Content type
Image
Digest
Size
64.1 MB
Last updated
almost 5 years ago
docker pull ioces/tiddlywiki