diff --git a/sbin/entrypoint.sh b/sbin/entrypoint.sh index fe6e14f..e2a4f21 100755 --- a/sbin/entrypoint.sh +++ b/sbin/entrypoint.sh @@ -2,6 +2,7 @@ set -eu -o pipefail +# Install root administration user account on first installation setup_root_user() { set -eu @@ -23,6 +24,7 @@ setup_root_user() { fi } +# Pass Ansible based environment variables into the Gitea app.ini configuration setup_app_ini() { set -eu @@ -82,6 +84,7 @@ setup_app_ini() { crudini --set "$app_ini" mailer MAILER_TYPE "${SMTP_MAILER_TYPE}" } +# Main entrypoint main() { set -eu