[new] restart

This commit is contained in:
Andy Bunce 2021-10-26 22:01:40 +01:00
parent 7fb1288f73
commit 724271ae87
8 changed files with 82 additions and 15 deletions

8
tiddlywiki/entrypoint.sh Normal file
View file

@ -0,0 +1,8 @@
#!/usr/bin/env sh
set -e
if [ ! -f "/app/tiddlywiki.info" ]; then
tiddlywiki /app --init server
fi
tiddlywiki /app --listen host=0.0.0.0 username="${USERNAME:-user}" password="${PASSWORD-wiki}"