mirror of
https://github.com/casjaysdevdocker/gitea
synced 2024-11-22 05:23:07 -05:00
🗃️ 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:
parent
5f175fdbac
commit
9c088dcade
@ -93,7 +93,7 @@ LOG_DIR="/data/logs/gitea" # set log directory
|
|||||||
WORK_DIR=""
|
WORK_DIR=""
|
||||||
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
||||||
# port which service is listening on
|
# port which service is listening on
|
||||||
SERVICE_PORT="5000"
|
SERVICE_PORT="8000"
|
||||||
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
||||||
# User to use to launch service - IE: postgres
|
# User to use to launch service - IE: postgres
|
||||||
RUNAS_USER="gitea" # normally root
|
RUNAS_USER="gitea" # normally root
|
||||||
|
@ -225,6 +225,13 @@ RUNNER_NAME="gitea"
|
|||||||
RUNNER_LABELS="$RUNNER_LABELS"
|
RUNNER_LABELS="$RUNNER_LABELS"
|
||||||
RUNNER_AUTH_TOKEN="${RUNNER_AUTH_TOKEN:-$SYS_AUTH_TOKEN}"
|
RUNNER_AUTH_TOKEN="${RUNNER_AUTH_TOKEN:-$SYS_AUTH_TOKEN}"
|
||||||
RUNNER_HOSTNAME="${INSTANCE_HOSTNAME:-http://127.0.0.1:8000}"
|
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
|
EOF
|
||||||
fi
|
fi
|
||||||
if [ ! -f "$CONF_DIR/runners" ]; then
|
if [ ! -f "$CONF_DIR/runners" ]; then
|
||||||
|
Loading…
Reference in New Issue
Block a user