Skip to content

Configure dmoj judge

Outvi V edited this page Jan 4, 2019 · 6 revisions

This is really easy.

  1. If you want a multi-lang version, git checkout multilang. Extra languages we have in multilang:

    Java 11, Lua 5.3, Crystal, Scala 2.12.8, Rust, Haskell, Coffeescript, Julia 1.0.1

  2. We have a mirror repository for schoj/judge (which would be needed in building Dockerfile). If you are not confident with your network, use that mirror:

https://git.dev.tencent.com/outloudvi/schoj-judge

  1. Create a environment file, like:
JUDGE_NAME=(Your judger's name)
JUDGE_KEY=(Your judger's key)
JUDGE_SITE=site

You can use any value for the names and keys, but keep them in mind (or you will just have to open the file again in search for that). You will need to fill in them at the admin panel of the site.

Also, tell docker-compose.yml about the files.

Here is an example: docker-compose.yml and judge1.env.

P.S. The name should be different for every judger.


To use the schoj/judge image seperately, see Docker images.

Clone this wiki locally