Add support for pre-configured runners from environment variables

- Added RUNNERS env var to .env.example (comma-separated runner names)
- Updated supervisor binary to accept --runners flag
- Runners are automatically registered on startup using first admin secret
- Updated run.sh to pass RUNNERS from env to supervisor binary
This commit is contained in:
Timur Gordon
2025-11-07 00:15:22 +01:00
parent 609af6ec15
commit 278ba18d20
3 changed files with 27 additions and 1 deletions

View File

@@ -15,5 +15,9 @@ ADMIN_SECRETS=your_admin_secret_here
# USER_SECRETS=user_secret_1,user_secret_2
# REGISTER_SECRETS=register_secret_1
# Optional: Pre-configured runners (comma-separated names)
# These runners will be automatically registered on startup
# RUNNERS=runner1,runner2,runner3
# Optional: Mycelium network URL (requires mycelium feature)
# MYCELIUM_URL=http://127.0.0.1:8989