forked from coop-cloud/mobilizon
add missing abra.sh and entrypoint
This commit is contained in:
parent
a537af6083
commit
1d5b4cb41a
9
abra.sh
Normal file
9
abra.sh
Normal file
@ -0,0 +1,9 @@
|
||||
export APP_ENTRYPOINT_VERSION=v1
|
||||
|
||||
create_admin(){
|
||||
# if [ -z "$1" ]; then
|
||||
# echo "Usage: ... create_admin <email_address> <password>"
|
||||
# exit 1
|
||||
# fi
|
||||
mobilizon_ctl users.new "$1" --admin --password "$2"
|
||||
}
|
8
entrypoint.sh.tmpl
Normal file
8
entrypoint.sh.tmpl
Normal file
@ -0,0 +1,8 @@
|
||||
#!/bin/sh
|
||||
|
||||
export MOBILIZON_INSTANCE_SECRET_KEY_BASE=$(cat run/secrets/secret_key_base)
|
||||
export MOBILIZON_INSTANCE_SECRET_KEY=$(cat run/secrets/secret_key)
|
||||
export MOBILIZON_SMTP_PASSWORD=$(cat run/secrets/smtp_password)
|
||||
export MOBILIZON_DATABASE_PASSWORD=$(cat run/secrets/db_password)
|
||||
|
||||
sh -c /docker-entrypoint.sh
|
Loading…
x
Reference in New Issue
Block a user