-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.env.development
55 lines (45 loc) · 1.97 KB
/
.env.development
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
#
# Shared environment-specific settings for `development`
#
# Do not put secrets or local config here, this file is committed to git
# To adapt to your local setup, copy this file to `.env.development.local` to make changes
#
DATABASE_URL=postgresql://postgres@localhost/laa-apply-for-criminal-legal-aid
# Local datastore endpoint
DATASTORE_API_ROOT=http://localhost:3003
# Local datastore API shared secret for JWT auth
# Value does not matter, as long as it is not blank or nil,
# and the datastore has the same env value
DATASTORE_API_AUTH_SECRET=foobar
# LAA Portal SAML authentication metadata endpoint
# or path to a locally-stored metadata file, one or the other
# LAA_PORTAL_IDP_METADATA_URL=https://portal.dev.legalservices.gov.uk/oamfed/idp/metadata
LAA_PORTAL_IDP_METADATA_FILE=config/laa_portal/metadata/dev.xml
# LAA Portal service provider (that's us) certificate
# Refer to confluence or a team member on how to obtain these
# LAA_PORTAL_SP_CERT=
# LAA_PORTAL_SP_PRIVATE_KEY=
# Set to true to bypass authentication (a mock will be used)
# This is the default mode for local development
# In order to use real Portal, set to `false` and configure
# the Portal metadata and certificates as ENV variables
OMNIAUTH_TEST_MODE=true
# Session timeout, in minutes. For local development, a longer
# or shorter timeout can be configured (default is 60 minutes)
# SESSION_TIMEOUT_MINUTES=60
# Time, in minutes, that a user's authentication session remains
# active. When the lifetime is reached the session expires
# REAUTHENTICATE_AFTER_MINUTES=1440
# If set, enables prometheus middleware and server
# ENABLE_PROMETHEUS_EXPORTER=true
# PROMETHEUS_EXPORTER_VERBOSE=false
# Benefit Checker configuration. In local, it uses a mock by default
# Refer to `services/dwp/mock_benefit_check_service.rb`
# Ask a team member if you require these
BC_USE_DEV_MOCK=true
BC_LSC_SERVICE_NAME=
BC_CLIENT_ORG_ID=
BC_CLIENT_USER_ID=
BC_WSDL_URL=
# Set ClamAV file scanning timeout in seconds
# VIRUS_SCAN_TIMEOUT = 40