Add backend jobs system with built-in tasks and TOML-based configuration parsing.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
OverlordandClaude Bot committed 2026-10-13 14:20:31 +02:00
1 parent 9647ac8c50
commit 1f6d41ab06
27 files changed
+1590 -25

No files matched your search

+6
View File
@@ -45,6 +45,10 @@ services:
environment:
SPAWNER_SOCKET: /run/spawner/spawner.sock
STATUS_DIR: /run/status
CONTENT_DIR: /content
JOBS_FILE: /config/jobs.toml
SITE_URL: ${SITE_URL:-https://security-command.org}
LEGAL_PAGES: ${LEGAL_PAGES:-impressum:impressum.txt,datenschutz:datenschutz.txt}
ALLOWED_ORIGINS: ${ALLOWED_ORIGINS:-https://security-command.org}
MAX_SESSIONS: ${MAX_SESSIONS:-12}
MAX_QUEUE: ${MAX_QUEUE:-20}
@@ -52,6 +56,8 @@ services:
volumes:
- ./runtime/spawner:/run/spawner
- ./runtime/status:/run/status
- ${CONTENT_DIR}:/content:ro
- ./config:/config:ro
logging:
driver: json-file
options:
+8 -1
View File
@@ -1,6 +1,13 @@
# Absolute host path of the homepage content. It is mounted read only.
# Absolute host path of the homepage content. Sandboxes and the backend only
# read it; jobs may write into it.
CONTENT_DIR=
# Public address of the site, used by the sitemap.
SITE_URL=https://security-command.org
# Legal pages as route:file pairs; the files live in the content directory.
LEGAL_PAGES=impressum:impressum.txt,datenschutz:datenschutz.txt
# Container registry of the SecurityCommand organization.
REGISTRY=git.security-command.org/securitycommand