From 9c088dcade6d43b0c3ce9e9549fb9ad5e90aaaf2 Mon Sep 17 00:00:00 2001 From: casjay Date: Sun, 11 Aug 2024 09:46:48 -0400 Subject: [PATCH] =?UTF-8?q?=F0=9F=97=83=EF=B8=8F=20Committing=20everything?= =?UTF-8?q?=20that=20changed=20=F0=9F=97=83=EF=B8=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit rootfs/usr/local/etc/docker/init.d/08-gitea.sh rootfs/usr/local/etc/docker/init.d/zz-act_runner.sh --- rootfs/usr/local/etc/docker/init.d/08-gitea.sh | 2 +- rootfs/usr/local/etc/docker/init.d/zz-act_runner.sh | 7 +++++++ 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/rootfs/usr/local/etc/docker/init.d/08-gitea.sh b/rootfs/usr/local/etc/docker/init.d/08-gitea.sh index 91f0c5a..45ad6d8 100755 --- a/rootfs/usr/local/etc/docker/init.d/08-gitea.sh +++ b/rootfs/usr/local/etc/docker/init.d/08-gitea.sh @@ -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 diff --git a/rootfs/usr/local/etc/docker/init.d/zz-act_runner.sh b/rootfs/usr/local/etc/docker/init.d/zz-act_runner.sh index f1b1df8..1158cca 100755 --- a/rootfs/usr/local/etc/docker/init.d/zz-act_runner.sh +++ b/rootfs/usr/local/etc/docker/init.d/zz-act_runner.sh @@ -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 <"$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