mirror of
https://github.com/QingdaoU/JudgeServer.git
synced 2024-12-28 21:31:43 +00:00
21 lines
599 B
YAML
21 lines
599 B
YAML
version: "2"
|
|
services:
|
|
judge_server:
|
|
image: judge_server
|
|
cpu_quota: 90000
|
|
read_only: true
|
|
tmpfs:
|
|
- /tmp
|
|
- /judger_run
|
|
- /spj
|
|
volumes:
|
|
- /data/JudgeServer/tests/test_case:/test_case:ro
|
|
- /data/log:/log
|
|
- /data/JudgeServer:/code:ro
|
|
environment:
|
|
- judger_token=token
|
|
- service_discovery_url=https://virusdefender.net/service.php
|
|
- service_url=http://1.2.3.4:12345
|
|
- judger_debug=1
|
|
ports:
|
|
- "0.0.0.0:12358:8080" |