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