# domjudge-docker-compose **Repository Path**: chielo/domjudge-docker-compose ## Basic Information - **Project Name**: domjudge-docker-compose - **Description**: Docker Compose for DOMjudge - **Primary Language**: Shell - **License**: MIT - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2019-11-20 - **Last Updated**: 2020-12-19 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # Docker Compose for DOMjudge This repository contains scripts and compose files to build up docker containers for DOMjudge. # Usage ## `build.sh` `build.sh` generates configurations of password and timezone for containers. If the script runs directly, it will additionally dump the generated password into a shell script `vars-*.sh`. You can modify `vars-*.sh` to suit your needs and run `build.sh` with the path to `vars-*.sh` as the argument. `build.sh` will use the variables defined in the file `vars-*.sh` to generate configurations. # Judgehost To run multiple judgehosts, use the `--scale` argument for `docker-compose up`. For example, to run four judgehosts: ``` docker-compose up -d --scale judgehost=4 ``` # Cautions - MariaDB needs to initialize files when first startup. After the initialization of mariadb, you can restart the domserver. - Remember to modify `` in `cds/cdsConfig.xml`. - If domserver is build up with a project name, please change the network section in `docker-compose.yml` for judgehost and cds.