thedocks/tiddlywiki/entrypoint.sh
2021-10-26 22:01:40 +01:00

9 lines
200 B
Bash

#!/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}"