feat(practice): add the code runner port and its TLS client

This commit is contained in:
shira committed 2026-10-11 09:48:44 +03:00
1 parent 53a125f2b5
commit facc1789b1
24 files changed
+3374 -6

No files matched your search

+12
View File
@@ -242,6 +242,18 @@ services:
IDENTITY_SESSION_IDLE_TIMEOUT: ${IDENTITY_SESSION_IDLE_TIMEOUT:-24h}
IDENTITY_SESSION_ABSOLUTE_LIFETIME: ${IDENTITY_SESSION_ABSOLUTE_LIFETIME:-168h}
ASSESSMENT_DEMO_CATEGORIES_ENABLED: ${ASSESSMENT_DEMO_CATEGORIES_ENABLED:-false}
# Own code runner (see docs/en/DEPLOY.md#code-runner-client). Off while
# CODE_RUNNER_URL is empty: practice then reports the runner as
# unavailable and runs nothing. The token and the run key are secrets;
# pass the CA inline (CODE_RUNNER_CA_PEM) or mount a file and set its
# in-container path in CODE_RUNNER_CA_FILE. Empty values count as unset.
CODE_RUNNER_URL: ${CODE_RUNNER_URL:-}
CODE_RUNNER_TOKEN: ${CODE_RUNNER_TOKEN:-}
CODE_RUNNER_RUN_KEY: ${CODE_RUNNER_RUN_KEY:-}
CODE_RUNNER_CA_FILE: ${CODE_RUNNER_CA_FILE:-}
CODE_RUNNER_CA_PEM: ${CODE_RUNNER_CA_PEM:-}
CODE_RUNNER_SERVER_NAME: ${CODE_RUNNER_SERVER_NAME:-}
CODE_RUNNER_REQUEST_TIMEOUT: ${CODE_RUNNER_REQUEST_TIMEOUT:-}
# Proxies whose X-Forwarded-For is believed: only the frontend container,
# which has a fixed address on the pinned app network below. Other
# containers of that network (Prometheus, exporters, Alloy) are not