🗃️ Committing everything that changed 🗃️

rootfs/usr/local/etc/docker/init.d/08-gitea.sh
rootfs/usr/local/etc/docker/init.d/zz-act_runner.sh
This commit is contained in:
casjay 2024-08-11 09:46:48 -04:00
parent 5f175fdbac
commit 9c088dcade
Signed by untrusted user who does not match committer: jason
GPG Key ID: 1AB309F42A764145
2 changed files with 8 additions and 1 deletions

View File

@ -93,7 +93,7 @@ LOG_DIR="/data/logs/gitea" # set log directory
WORK_DIR=""
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# port which service is listening on
SERVICE_PORT="5000"
SERVICE_PORT="8000"
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# User to use to launch service - IE: postgres
RUNAS_USER="gitea" # normally root

View File

@ -225,6 +225,13 @@ RUNNER_NAME="gitea"
RUNNER_LABELS="$RUNNER_LABELS"
RUNNER_AUTH_TOKEN="${RUNNER_AUTH_TOKEN:-$SYS_AUTH_TOKEN}"
RUNNER_HOSTNAME="${INSTANCE_HOSTNAME:-http://127.0.0.1:8000}"
EOF
cat <<EOF >"$CONF_DIR/reg/runner.reg"
# Settings for the default gitea runner
RUNNER_NAME="runner"
RUNNER_LABELS="$RUNNER_LABELS"
RUNNER_AUTH_TOKEN="${RUNNER_AUTH_TOKEN:-$SYS_AUTH_TOKEN}"
RUNNER_HOSTNAME="${INSTANCE_HOSTNAME:-http://127.0.0.1:8000}"
EOF
fi
if [ ! -f "$CONF_DIR/runners" ]; then