-
Notifications
You must be signed in to change notification settings - Fork 10
/
Copy pathexample.env.txt
118 lines (107 loc) · 3.79 KB
/
example.env.txt
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
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
######################################################################
# Example .env file for local development
# Copy to $PROJECT/.env and edit the values
######################################################################
#############
# URLs
#############
AUTH_URL='http://localhost:3003/auth'
AUTH_PING_URL='http://localhost:3003/ping'
PUPIL_APP_URL='http://localhost:4200'
PUPIL_API_BASE_URL='http://localhost:3003'
#ASSET_PATH='http://localhost:8080/'
REMOTE_IP_CHECK_URL='https://ifconfig.me/ip'
#####################
# Azure Settings
#####################
# For Application Insights
# https://github.com/microsoft/ApplicationInsights-node.js
# APPINSIGHTS_CONNECTION_STRING="InstrumentationKey=xxx"
#
#
# SERVICE BUS
#
AZURE_SERVICE_BUS_CONNECTION_STRING=foo
AZURE_STORAGE_CONNECTION_STRING=bar
# Local service bus settings don't need production scale.
SERVICE_BUS_QUEUE_MAX_SIZE_DEFAULT_MEGABYTES=1024
SERVICE_BUS_QUEUE_MAX_SIZE_MEGABYTES_PS_REPORT_SCHOOLS=1024
SERVICE_BUS_QUEUE_MAX_SIZE_MEGABYTES_PS_REPORT_STAGING=1024
SERVICE_BUS_QUEUE_MAX_SIZE_MEGABYTES_PS_REPORT_EXPORT=2048
SERVICE_BUS_QUEUE_MAX_SIZE_MEGABYTES_PUPIL_LOGIN=1024
SERVICE_BUS_QUEUE_MAX_SIZE_MEGABYTES_CHECK_VALIDATION=1024
SERVICE_BUS_QUEUE_MAX_SIZE_MEGABYTES_CHECK_SYNC=1024
SERVICE_BUS_QUEUE_MAX_SIZE_MEGABYTES_CHECK_NOTIFICATION=1024
SERVICE_BUS_QUEUE_MAX_SIZE_MEGABYTES_CHECK_MARKING=1024
SERVICE_BUS_QUEUE_MAX_SIZE_MEGABYTES_CHECK_COMPLETION=1024
SERVICE_BUS_QUEUE_MAX_SIZE_MEGABYTES_SYNC_RESULTS_COMPLETE=1024
SERVICE_BUS_QUEUE_MAX_SIZE_MEGABYTES_PS_REPORT_LOG=1024
SERVICE_BUS_QUEUE_MAX_SIZE_MEGABYTES_CHECK_SUBMISSION=5120
#################
# Service users
#################
SQL_PUPIL_CENSUS_USER='CensusImportUser'
SQL_PUPIL_CENSUS_USER_PASSWORD='Mtc-D3v.5ql_S3rv3r'
SQL_TECH_SUPPORT_USER_PASSWORD='Mtc-D3v.5ql_S3rv3r'
SQL_FUNCTIONS_APP_USER='functionsAppSystemUser'
SQL_FUNCTIONS_APP_USER_PASSWORD='functionsAppSystemP4ssw0rd!2'
SQL_LOCAL_ADMIN_USER='sa'
SQL_LOCAL_ADMIN_PASS='Mtc-D3v.5ql_S3rv3r'
###################
# Services
###################
SQL_SERVER=localhost
SQL_ENCRYPT=1
SQL_TRUST_SERVER_CERTIFICATE=1
# REDIS_HOST=localhost
#####################
# App settings
#####################
# You can connect your local env to Azure App Insights by adding the key in here.
# APPINSIGHTS_INSTRUMENTATIONKEY='<some guid>'
#
# AzureFunctionsJobHost__Logging__Console__IsEnabled=true
#DEBUG=express:*
# CHECK_SUBMIT_JWT_SECRET: must be 32 chars minimum
CHECK_SUBMIT_JWT_SECRET='9DFAB787-5A01-4967-B648-F99EB75DE485'
CORS_WHITELIST="http://127.0.0.1:4200,http://localhost:4200,http://localhost:9876,http://localhost:3004"
DEBUG_VERBOSITY=0
FEATURE_TOGGLE_CHECK_SUBMISSION_API=1
FEATURE_TOGGLE_PUPIL_REGISTER_V2=0
# LIVE_FORM_QUESTION_COUNT: For normal development set this to 10, or for e2e testing set to 25
LIVE_FORM_QUESTION_COUNT=25
LOG_LEVEL=debug
NODE_ENV=development
OVERRIDE_PIN_EXPIRY=true
OVERRIDE_PIN_VALIDITY_TIME=true
PREPARE_CHECK_MESSAGE_BATCH_SIZE=11
PUPIL_APP_USE_COMPRESSION=true
REDIS_CACHING=true
SCHOOL_RESULTS_CACHE=0
##############
# PS Report
# Dev settings for fast stage termination
##############
PS_REPORT_STAGING_WAIT_TIME_COMPLETE=5
PS_REPORT_STAGING_READ_MESSAGE_BATCH_SIZE=16
PS_REPORT_STAGING_WRITE_MESSAGE_BATCH_SIZE=8
PS_REPORT_STAGING_POLL_INTERVAL=1
##############
# End to End Testing settings
# For local testing
##############
WAIT_TIME_BEFORE_EXIT=10
TEST_SUPPORT_API_ENABLED=1
SCHOOL_PIN_FUNCTION_ENABLED=1
##############
# DfE Sign-in
##############
# AUTH_MODE=dfe
DFE_SIGNON_AUTH_URL=https://sign-on-url
DFE_SIGNON_CLIENT_ID=this-app
DFE_SIGNON_CLIENT_SECRET=your-awesome-secret
DFE_USER_INFO_API_SECRET=another-different-secret
DFE_USER_INFO_API_URL=https://the-api-url/
# DFE_SIGNON_CLOCK_TOLERANCE_SECONDS
DFE_SIGNON_SIGNOUT_URL=https://the-sign-out-url
DFE_SIGNON_SERVICES_URL=https://the-services-url