JudgeServer/docker-compose.example.yml

21 lines
627 B
YAML
Raw Normal View History

2016-10-09 16:00:54 +00:00
version: "2"
services:
judge_server:
image: judge_server
cpu_quota: 90000
read_only: true
tmpfs:
- /tmp
- /judger_run:exec,mode=777
- /spj:exec,mode=777
2016-10-09 16:00:54 +00:00
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"