feat: add metadata-based script timeouts with validation and request timeout handling

This commit is contained in:
2026-02-24 22:48:57 +08:00
parent 97b337e143
commit cdc91d7ffd
6 changed files with 166 additions and 10 deletions

View File

@@ -13,6 +13,11 @@ services:
- "${HOST_PORT:-8080}:8080"
environment:
HOST_API_TOKEN: ${HOST_API_TOKEN:-}
MAX_RUN_CONCURRENCY: ${MAX_RUN_CONCURRENCY:-}
volumes:
- ./scripts:/app/scripts
command: ["--host=0.0.0.0", "--port=8080", "--scripts-dir=/app/scripts"]
command:
- "--host=0.0.0.0"
- "--port=8080"
- "--scripts-dir=/app/scripts"
- "--max-run-concurrency=${MAX_RUN_CONCURRENCY:-}"