mirror of
https://github.com/invoiceninja/dockerfiles.git
synced 2026-01-19 21:04:07 +01:00
updates for debian
This commit is contained in:
14
debian/rootfs/docker-entrypoint-init.d/10-init-in.sh
vendored
Normal file
14
debian/rootfs/docker-entrypoint-init.d/10-init-in.sh
vendored
Normal file
@@ -0,0 +1,14 @@
|
||||
#!/bin/sh
|
||||
|
||||
php artisan db:seed --force
|
||||
|
||||
# Build up array of arguments...
|
||||
if [[ ! -z "${IN_USER_EMAIL}" ]]; then
|
||||
email="--email ${IN_USER_EMAIL}"
|
||||
fi
|
||||
|
||||
if [[ ! -z "${IN_PASSWORD}" ]]; then
|
||||
password="--password ${IN_PASSWORD}"
|
||||
fi
|
||||
|
||||
php artisan ninja:create-account $email $password
|
||||
Reference in New Issue
Block a user