$ docker run -p 8080:8080 --name mywiki nicolaw/tiddlywiki
$ docker run -p 8080:8080 \
-e "TW_USERNAME=$USER" \
-e "TW_PASSWORD=hunter2" \
--name mywiki nicolaw/tiddlywiki
$ sudo mkdir /etc/tiddlywiki/
$ sudo cp tiddlywiki.service /etc/systemd/system/
$ sudo cp tiddlywiki.service.conf /etc/tiddlywiki/
$ sudo systemctl daemon-reload
$ sudo systemctl start tiddlywiki.service
$ sudo systemctl status tiddlywiki.service
$ sudo journalctl -u tiddlywiki.service
Uncomment the TW_USERNAME
and/or TW_PASSWORD
lines from the
/etc/tiddlywiki/tiddlywiki.service.conf
file, and change as necessary.
$ sudo vi /etc/tiddlywiki/tiddlywiki.service.conf
$ sudo systemctl daemon-reload
$ sudo systemctl restart tiddlywiki.service
Refer to the canonical online documentation for help for additional help.
TW_DOCKERVOLUME=/home/janedoe/tiddlywiki
TW_DOCKERUID=0
TW_DOCKERGID=0
TW_USERNAME=janedoe
TW_PASSWORD=
TW_PORT=8080
TW_WIKINAME=mywiki
TW_ROOTTIDDLER=$:/core/save/all
TW_RENDERTYPE=text/plain
TW_SERVETYPE=text/html
TW_HOST=0.0.0.0
TW_PATHPREFIX=