From a6a55675dd0e99c1fde1a805dab6635554b5b10a Mon Sep 17 00:00:00 2001 From: Asen Lekov Date: Wed, 19 Aug 2026 01:28:26 +0300 Subject: [PATCH] chore: document compose env vars and claim the maintainer label docker-compose interpolates GitHub App credentials from .env; an example file lists them without committing secrets. EPHEMERAL stays false in compose so the cache volumes persist. The maintainer label still pointed at the upstream author's address. Co-authored-by: Cursor --- .env.example | 18 ++++++++++++++++++ Dockerfile | 2 +- 2 files changed, 19 insertions(+), 1 deletion(-) create mode 100644 .env.example diff --git a/.env.example b/.env.example new file mode 100644 index 0000000..b3e3658 --- /dev/null +++ b/.env.example @@ -0,0 +1,18 @@ +# Copy to .env and fill in. Never commit .env. +# Variables interpolated by docker-compose.yml for the 3-runner X64 layout. + +# GitHub App that registers the runners (required) +APP_ID= +APP_PRIVATE_KEY= +# Org login the runners register against (also used as ORG_NAME) +APP_LOGIN= + +# Optional — values match the compose defaults +RUNNER_NAME_PREFIX=runner +LABELS=self-hosted,Linux,X64,beelink,docker,large +RUNNER_GROUP=Default +DISABLE_AUTO_UPDATE=false + +# EPHEMERAL is hard-coded to "false" in docker-compose.yml so the three +# runners stay persistent and keep their per-runner cache volumes. +# Setting it here has no effect. diff --git a/Dockerfile b/Dockerfile index 54647d8..24b63dd 100644 --- a/Dockerfile +++ b/Dockerfile @@ -76,7 +76,7 @@ ENV PATH="${PATH}:/usr/local/lib/android/sdk/platform-tools/" # ANDROID_HOME is deprecated, but older versions of Gradle rely on it ENV ANDROID_SDK_ROOT=$ANDROID_ROOT/sdk ENV ANDROID_HOME=$ANDROID_ROOT/sdk -LABEL maintainer="ernstjason1@gmail.com" +LABEL maintainer="asen.lekov@dodi.li" # Job hooks: JOB_STARTED is the poison sweep (covers OOM / killed runner); # JOB_COMPLETED is the tidy-up. Neither wipes package / Gradle caches.