-
Notifications
You must be signed in to change notification settings - Fork 2
/
.env
56 lines (52 loc) · 2.36 KB
/
.env
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
53
54
55
56
##############
## Settings ##
##############
# Key used to generate the challenge flags. Should be rotated between CTF-events (required)
export CTF_KEY=""
# Secret for the cookie parser. Rotate to invalidate all active sessions. (required)
export COOKIE_SECRET=""
# Secret for the CTFd instance (required)
export CTFD_SECRET_KEY=""
# FQDN (Fully Qualified Domain Name) at which the setup is accessible (required, used for TLS and routing)
export JUICE_FQDN=""
# Max. number of JuiceShop instances that can be spawned (optional, defaults to 5)
# export MAX_INSTANCES=5
# Email address to receive TLS certificate expiration notices from LetsEncrypt (optional, but must be set)
export TLS_CERT_EMAIL="[email protected]"
# Password for the CTFd admin user (required)
export CTFD_ADMIN_PASSWORD=""
# CTFd registration code (optional)
export CTFD_REGISTRATION_CODE=""
## Services
# Whether to manage the monitoring solution (optional, defaults to false)
export MANAGE_MONITORING=0
# Whether to configure the CTFd deployment (optional, defaults to true)
export MANAGE_CTFD=1
####################
## Azure-specific ##
####################
### Deployment/Cluster (manage-azure-deployment.sh)
# DNS name of the NGINX controller, used as <AZURE_DNS_NAME>.<AZURE_LOCATION>.cloudapp.azure.com (required)
export AZURE_DNS_NAME=""
# Azure region in which to deploy the services
export AZURE_LOCATION="norwayeast"
# The subscription ID (required)
export AZURE_SUBSCRIPTION_ID=""
# Name of the resource group (required)
export AZURE_RESOURCE_GROUP=""
### Service Principal (service-principal.sh)
# Name of the service principal (required)
export AZURE_SERVICE_PRINCIPAL_NAME=""
# Name of the Azure AD group allowed to administrate the App Registration (Service Principal) (required)
export AZURE_AD_APP_ADMIN_GROUP=""
# The Github repository in which the code is stored. Used to create a federated credential for the service principal. In the format <USER|ORGANIZATION>/<REPOSITORY_NAME>. (optional)
export GIT_REPO=""
### Toggles
# Whether to create/delete the resource group. Defaults to false
export MANAGE_RG=0
# Whether to create/delete the key vault. Defaults to false
export MANAGE_KEYVAULT=0
# Whether to purge the key vault. Requires MANAGE_KEYVAULT=1. Defaults to false
export PURGE_KEYVAULT=0
# Whether to create/delete the cluster itself. Defaults to false, unless COMMAND is 'new' or 'wipe'
export MANAGE_CLUSTER=0