-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.template.sh
52 lines (34 loc) · 1.54 KB
/
config.template.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
## Basic properties
# Whether HTTPS should be set up for the server (you need to be able to create an A record in your DNS provider's settings)
CONTEST_HAS_HTTPS='true'
# Host name of the contest server, if using HTTPS
CONTEST_HOSTNAME='contest.example.org'
# E-mail of the contest organizers
CONTEST_EMAIL='admin@example.org'
# Time zone of the contest
CONTEST_TIMEZONE='Europe/Zurich'
# IP ranges allowed to connect to the contest (space-separated)
CONTEST_ALLOWED_IP_RANGES="0.0.0.0/0"
# Languages allowed at the contest. This is the full list, remove as needed.
CONTEST_LANGUAGES='c11 cpp17 java11 python27 python37'
# Set all judging errors to have the same priority (faster judging, less accurate errors)
CONTEST_DISABLE_ERROR_PRIORITY='true'
# Disable auto-detection of the '.py' extension, which is ambiguous and can confuse contestants
CONTEST_DISABLE_AMBIGUOUS_PY_EXTENSION='true'
# Location of the contest in Azure
AZURE_LOCATION='westeurope'
# Size of the Azure VMs to use for the server
AZURE_VM_SERVER_SIZE='Standard_A4_v2'
# Size of the Azure VMs to use for the judges
AZURE_VM_JUDGE_SIZE='Standard_F1'
## Advanced properties - do not touch unless you know what you are doing!
# Username for SSH
SSH_USERNAME='ssh-user'
# Name of the group in Azure
AZURE_GROUP_NAME='azdj'
# Name of the network security group in Azure
AZURE_NSG_NAME='net-sec-group'
# Name of the VM for the server in Azure
AZURE_VM_SERVER_NAME='server'
# Template of the VM names for judges in Azure (will be suffixed with a dash and a number)
AZURE_VM_JUDGE_NAME='judge'