This is a note written to make it easier to deploy Domjudge.
-
Install Docker as well as Docker-Compose to your server.
-
Upload docker-compose.yml to the server.
-
Replace all the $variable with proper value. Notice that the same $variable should have the same value. You can leave those in cds to be modified later.
-
Run docker compose up -d mariadb domserver.
-
Get the admin password and restapi key. They are in /opt/domjudge/domserver/etc/ in domserver container, initial_admin_password.secret and restapi.secret respectively.
-
Edit docker-compose.yml, replace all $restapi_key with the restapi key in the previous step.
-
Login to the admin account, create cds account and contest for test. Then edit the $variable in cds.
-
Edit accounts.yaml. It's accounts in cds.
-
Execute docker compose up -d to run all containers.
-
Check the Config checker in Domjudge.
-
Cds is running observing exactly one contest. If you create a new contest, please modify or add one cds container.
-
If you can't connect your printer to the server, check the print folder.