thedocks/tiddlywiki/entrypoint.sh

9 lines
200 B
Bash
Raw Normal View History

2021-10-26 22:01:40 +01:00
#!/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}"