summaryrefslogtreecommitdiffstats
path: root/docker/add_user.sh
diff options
context:
space:
mode:
authorSebastian Rakel <sebastian@devunit.eu>2016-04-26 11:03:06 +0200
committerFlorian Pritz <bluewind@xinu.at>2016-04-26 11:14:23 +0200
commit066be0f3d446169661c692ce7a16815e1b96f9bb (patch)
tree5e1c151a8b9442a102b32d34b90ad8682cb3b2ef /docker/add_user.sh
parentb8ab8019bd250c86a792b61f6e76d0ff5deaa1d1 (diff)
Add Dockerfile and scripts to create and run a docker container
Diffstat (limited to 'docker/add_user.sh')
-rwxr-xr-xdocker/add_user.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/docker/add_user.sh b/docker/add_user.sh
new file mode 100755
index 000000000..4342528ef
--- /dev/null
+++ b/docker/add_user.sh
@@ -0,0 +1,4 @@
+#!/bin/bash
+
+cd ${FILEBIN_DIR}
+printf "%s\n%s\n%s\n" admin ${FB_CONTACT_MAIL} admin | php index.php user add_user