JudgeServer/docker-compose.example.yml
李扬 a7973090ff remove cpu_quota
the max cpu_quota is not 100000 under some system, so remove it temporarily
2016-11-15 14:04:00 +08:00

27 lines
727 B
YAML

version: "2"
services:
judge_server:
image: qduoj/judge_server
read_only: true
cap_drop:
- SETPCAP
- MKNOD
- NET_BIND_SERVICE
- SYS_CHROOT
- SETFCAP
- FSETID
tmpfs:
- /tmp
- /judger_run:exec,mode=777
- /spj:exec,mode=777
volumes:
- $PWD/tests/test_case:/test_case:ro
- /data/log:/log
- $PWD/server:/code:ro
- $PWD/token.txt:/token.txt
environment:
- service_discovery_url=https://virusdefender.net/service.php
- service_url=http://1.2.3.4:12358
ports:
- "0.0.0.0:12358:8080"