|
| 1 | +# Directory of the domjudge repository checkout. |
| 2 | +DJ_DIR: /opt/domjudge |
| 3 | + |
| 4 | +# Branch to checkout and use. |
| 5 | +DJ_BRANCH: main |
| 6 | + |
| 7 | +# Whether to force-pull changes to the checkout, overwriting any local changes. |
| 8 | +DJ_FORCE_UPDATE: true |
| 9 | + |
| 10 | +# Server VLAN IP prefix. |
| 11 | +SERVER_IP_PREFIX: 10.3.3 |
| 12 | + |
| 13 | +# IP address of the git server. |
| 14 | +LOCAL_GIT_IP: "{{SERVER_IP_PREFIX}}.207" |
| 15 | + |
| 16 | +# URL and IP of domserver from judgehosts. A hostname 'domserver' with |
| 17 | +# DOMSERVER_IP will be added to the judgehost /etc/hosts file. |
| 18 | +DOMSERVER: https://domjudge |
| 19 | +DOMSERVER_IP: "{{SERVER_IP_PREFIX}}.215" |
| 20 | +DOMSERVER_URL: "{{DOMSERVER}}" |
| 21 | +DOMSERVER_SSL_CERT: /etc/ssl/certs/domserver.crt |
| 22 | +DOMSERVER_SSL_KEY: /etc/ssl/private/domserver.key |
| 23 | + |
| 24 | +# Set this to true when you are using the ICPC World Finals Contest Image |
| 25 | +ICPC_IMAGE: false |
| 26 | + |
| 27 | +# Set this to true when you are using a graphical desktop |
| 28 | +GRAPHICAL: false |
| 29 | + |
| 30 | +# Set this to true when you use an (ICPC) AWS machine |
| 31 | +AWS: true |
| 32 | + |
| 33 | +# Set this when on the blue network at the World Finals where no |
| 34 | +# internet access is available and "packages" must be used as APT repo |
| 35 | +# server. |
| 36 | +WF_RESTRICTED_NETWORK: false |
| 37 | +WF_GREEN: false |
| 38 | + |
| 39 | +# Static IP address configuration. Uses the ansible_host variable as the static |
| 40 | +# IP address. Only configured if STATIC_IP_ENABLED is true. |
| 41 | +STATIC_IP_ENABLED: false |
| 42 | +STATIC_IP_NETMASK: 255.255.252.0 |
| 43 | +STATIC_IP_GATEWAY: 172.29.0.1 |
| 44 | +STATIC_IP_INTERFACE: enp1s0 |
| 45 | + |
| 46 | +# Additional entries for the /etc/hosts file. |
| 47 | +HOSTS: |
| 48 | + cds: 10.3.3.207 |
| 49 | + packages: 10.3.3.209 |
| 50 | + ntp1: 10.3.3.208 |
| 51 | + ntp2: 10.3.3.209 |
| 52 | + nisprint: 10.3.3.211 |
| 53 | + nismaster: 10.3.3.211 |
| 54 | + printsrv: 10.3.3.211 |
| 55 | + domjudge-laptop: 10.3.3.200 |
| 56 | + pc2: 10.3.3.241 |
| 57 | + |
| 58 | +TIMEZONE: "Europe/Amsterdam" |
| 59 | + |
| 60 | +PHP_FPM_MAX_CHILDREN: 400 |
| 61 | +PHP_FPM_MAX_REQUESTS: 500 |
| 62 | +PHP_MEMORY_LIMIT: 1024M |
| 63 | +PHP_UPLOAD_MAX_FILESIZE: 512M |
| 64 | +PHP_POST_MAX_SIZE: 512M |
| 65 | +PHP_MAX_FILE_UPLOADS: 101 |
| 66 | + |
| 67 | +# Git repo URL |
| 68 | +DJ_GIT_HOST: "{{LOCAL_GIT_IP}}" |
| 69 | +DJ_GIT_REPO: "https://github.com/domjudge/domjudge.git" |
| 70 | +DJ_GIT_REPO_RESTRICTED: "domjudge@{{DJ_GIT_HOST}}:domjudge" |
| 71 | +DJ_GIT_REPO_SCRIPTS: "https://github.com/domjudge/domjudge-scripts.git" |
| 72 | +DJ_GIT_REPO_SCRIPTS_RESTRICTED: "domjudge@{{DJ_GIT_HOST}}:domjudge-scripts-bare" |
| 73 | +CONTEST_REPO: "wf2021" |
| 74 | + |
| 75 | +PHPSTORM_VERSION: 2022.2 |
| 76 | +PHPSTORM_FULL_VERSION: 222.4345.15 |
| 77 | + |
| 78 | +GRAFANA_MONITORING: false |
| 79 | + |
| 80 | +# Hostname of the CDS. If set, will add an nginx in front of the CDS |
| 81 | +# If not set, will only expose CDS directly |
| 82 | +CDS_HOSTNAME: cds |
| 83 | +CDS_PORT: 80 |
| 84 | +CDS_PORT_SECURE: 443 |
| 85 | + |
| 86 | +# CDS SSL cert and key. Only needed when CDS_HOSTNAME is set |
| 87 | +CDS_SSL_CERT: /etc/ssl/certs/cds.crt |
| 88 | +CDS_SSL_KEY: /etc/ssl/private/cds.key |
| 89 | + |
| 90 | +# Hostname of the static scoreboard |
| 91 | +STATIC_SCOREBOARD_HOSTNAME: scoreboard |
| 92 | + |
| 93 | +STATIC_SCOREBOARD_SSL_CERT: /etc/ssl/certs/scoreboard.crt |
| 94 | +STATIC_SCOREBOARD_SSL_KEY: /etc/ssl/private/scoreboard.key |
| 95 | + |
| 96 | +# Block access to the CDS for IPs other than these |
| 97 | +#CDS_IP_FILTER: |
| 98 | +# - 127.0.0.1-127.0.0.1 |
| 99 | +# - 192.168.0.0-192.168.255.255 |
0 commit comments