Add gitea admin

Signed-off-by: Nikolaos Karaolidis <nick@karaolidis.com>
This commit is contained in:
2025-07-25 15:24:27 +01:00
parent 1f89f09159
commit d38be7625c
6 changed files with 104 additions and 56 deletions

View File

@@ -0,0 +1,13 @@
#!/usr/bin/env sh
set -o errexit
set -o nounset
gitea migrate -c /etc/gitea/app.ini
if [ -f /etc/gitea/pre-start.sh ]; then
# shellcheck disable=SC1091
. /etc/gitea/pre-start.sh
fi
exec gitea web -c /etc/gitea/app.ini "$@"