Skip to content

Commit 34eaf84

Browse files
committed
Some default settings
1 parent 4ea1dc3 commit 34eaf84

File tree

1 file changed

+8
-29
lines changed

1 file changed

+8
-29
lines changed

provision-contest/ansible/group_vars/onprem/all.yml.example

Lines changed: 8 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
DJ_DIR: /opt/domjudge
33

44
# Branch to checkout and use.
5-
DJ_BRANCH: main
5+
DJ_BRANCH: wfastana
66

77
# Whether to force-pull changes to the checkout, overwriting any local changes.
88
DJ_FORCE_UPDATE: true
@@ -11,7 +11,7 @@ DJ_FORCE_UPDATE: true
1111
SERVER_IP_PREFIX: 10.3.3
1212

1313
# IP address of the git server.
14-
LOCAL_GIT_IP: "{{SERVER_IP_PREFIX}}.207"
14+
LOCAL_GIT_IP: "{{SERVER_IP_PREFIX}}.209"
1515

1616
# URL and IP of domserver from judgehosts. A hostname 'domserver' with
1717
# DOMSERVER_IP will be added to the judgehost /etc/hosts file.
@@ -22,18 +22,18 @@ DOMSERVER_SSL_CERT: /etc/ssl/certs/domserver.crt
2222
DOMSERVER_SSL_KEY: /etc/ssl/private/domserver.key
2323

2424
# Set this to true when you are using the ICPC World Finals Contest Image
25-
ICPC_IMAGE: false
25+
ICPC_IMAGE: true
2626

2727
# Set this to true when you are using a graphical desktop
28-
GRAPHICAL: false
28+
GRAPHICAL: true
2929

3030
# Set this to true when you use an (ICPC) AWS machine
31-
AWS: true
31+
AWS: false
3232

3333
# Set this when on the blue network at the World Finals where no
3434
# internet access is available and "packages" must be used as APT repo
3535
# server.
36-
WF_RESTRICTED_NETWORK: false
36+
WF_RESTRICTED_NETWORK: true
3737
WF_GREEN: false
3838

3939
# Static IP address configuration. Uses the ansible_host variable as the static
@@ -55,7 +55,7 @@ HOSTS:
5555
domjudge-laptop: 10.3.3.200
5656
pc2: 10.3.3.241
5757

58-
TIMEZONE: "Europe/Amsterdam"
58+
TIMEZONE: "Asia/Almaty"
5959

6060
PHP_FPM_MAX_CHILDREN: 400
6161
PHP_FPM_MAX_REQUESTS: 500
@@ -70,30 +70,9 @@ DJ_GIT_REPO: "https://github.com/domjudge/domjudge.git"
7070
DJ_GIT_REPO_RESTRICTED: "domjudge@{{DJ_GIT_HOST}}:domjudge"
7171
DJ_GIT_REPO_SCRIPTS: "https://github.com/domjudge/domjudge-scripts.git"
7272
DJ_GIT_REPO_SCRIPTS_RESTRICTED: "domjudge@{{DJ_GIT_HOST}}:domjudge-scripts-bare"
73-
CONTEST_REPO: "wf2021"
73+
CONTEST_REPO: "wfastana"
7474

7575
PHPSTORM_VERSION: 2022.2
7676
PHPSTORM_FULL_VERSION: 222.4345.15
7777

7878
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

Comments
 (0)