16 lines
951 B
Bash
16 lines
951 B
Bash
KF_OJ_ENVIRONMENT=development
|
|
KF_OJ_LOG_LEVEL=INFO
|
|
# Dedicated platform login inherits only kf_oj_platform; replace development credentials.
|
|
KF_OJ_DATABASE_URL=postgresql+asyncpg://kf_oj:local-dev-only@127.0.0.1:5432/kf_oj
|
|
KF_OJ_AMQP_URL=amqp://kf_oj:local-dev-only@127.0.0.1:5672/kf_oj
|
|
KF_OJ_BROWSER_ORIGINS='["http://localhost:5173","http://localhost:8000","http://127.0.0.1:5173","http://127.0.0.1:8000"]'
|
|
KF_OJ_SESSION_LIFETIME_SECONDS=43200
|
|
# Required for submissions: private absolute artifact root and trusted JSON admission policy.
|
|
# KF_OJ_ARTIFACT_ROOT=/srv/kf-platform/artifacts
|
|
KF_OJ_ARTIFACT_MAX_BYTES=536870912
|
|
KF_OJ_ARTIFACT_MAX_FILES=4096
|
|
# KF_OJ_JUDGE_ADMISSION=<JSON matching the Coordinator and Worker policy>
|
|
# Cancellation requires both; token equals Coordinator platform_token, never a Worker token.
|
|
# KF_OJ_COORDINATOR_URL=http://127.0.0.1:8100
|
|
# KF_OJ_COORDINATOR_TOKEN=<privately generated 64 lowercase hexadecimal characters>
|