summaryrefslogtreecommitdiffstats
path: root/docker/add_user.sh
diff options
context:
space:
mode:
Diffstat (limited to 'docker/add_user.sh')
-rwxr-xr-xdocker/add_user.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/docker/add_user.sh b/docker/add_user.sh
new file mode 100755
index 000000000..88618746d
--- /dev/null
+++ b/docker/add_user.sh
@@ -0,0 +1,5 @@
+#!/bin/bash
+
+cd ${FILEBIN_DIR}
+echo "Creating initial user. If it exists, this will show an error message instead"
+printf "%s\n%s\n%s\n" admin ${FB_CONTACT_MAIL} admin | php index.php user add_user