feat(practice): add the code runner port and its TLS client
This commit is contained in:
1 parent
53a125f2b5
commit
facc1789b1
24 files changed
+3374
-6
No files matched your search
@@ -108,6 +108,22 @@ IDENTITY_SESSION_ABSOLUTE_LIFETIME=168h
|
||||
# demo_express never assigns a category. Leave false outside a synthetic stand.
|
||||
ASSESSMENT_DEMO_CATEGORIES_ENABLED=false
|
||||
|
||||
# Own code runner for code practice. Empty CODE_RUNNER_URL keeps it off: the
|
||||
# backend then reports the runner as unavailable and runs nothing. To enable
|
||||
# it, set the https URL of the runner VM, its service token, a separate random
|
||||
# run key, and the CA that signed the runner certificate (a file path inside
|
||||
# the container, or the PEM text with \n for line breaks). Generate both
|
||||
# secrets with `openssl rand -hex 32`; keep them in the server environment only.
|
||||
# CODE_RUNNER_SERVER_NAME is the certificate name when the URL is an IP the
|
||||
# certificate does not list; CODE_RUNNER_REQUEST_TIMEOUT defaults to 10s.
|
||||
CODE_RUNNER_URL=
|
||||
CODE_RUNNER_TOKEN=
|
||||
CODE_RUNNER_RUN_KEY=
|
||||
CODE_RUNNER_CA_FILE=
|
||||
CODE_RUNNER_CA_PEM=
|
||||
CODE_RUNNER_SERVER_NAME=
|
||||
CODE_RUNNER_REQUEST_TIMEOUT=
|
||||
|
||||
# Reverse proxies the backend trusts to report the client address in
|
||||
# X-Forwarded-For. Leave it unset: the default is the frontend container's
|
||||
# APP_FRONTEND_IP as a single address. A wider list lets other containers (or a
|
||||
|
||||
Reference in new issue
Block a user