-
Notifications
You must be signed in to change notification settings - Fork 7
/
sample.env
117 lines (108 loc) · 4.46 KB
/
sample.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
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
# This is a sample config file shared between FE and API instances.
# This file is also used with CircleCI tests.
# Frontend vars
ACCOUNT_PLAN_URLS={"000000001": "/some-test-account-plan-url","123456789": "/some-other-test-account-plan-urls"}
API_ROOT=http://api:8000
ARCHIVED_DOCUMENTS_BASE_URL=https://lookInVault.com/
DATA_HUB_BACKEND_ACCESS_KEY_ID=frontend-key-id
DATA_HUB_BACKEND_SECRET_ACCESS_KEY=frontend-key
DATA_STORE_SERVICE_ACCESS_KEY_ID=data-store-service-id
DATA_STORE_SERVICE_POSTCODE=https://lookInVault.com/
DATA_STORE_SERVICE_POSTCODE_TO_REGION_URL=https://lookInVault.com/
DATA_STORE_SERVICE_SECRET_ACCESS_KEY=data-store-service-key
ELASTIC_APM_SERVICE_NAME='some-service'
ELASTIC_APM_SERVER_URL=http://es-apm:8200
ELASTIC_APM_SECRET_TOKEN=12345
ELASTIC_APM_SERVER_TIMEOUT=1
HELP_CENTRE_ANNOUNCMENTS_URL=https://lookInVault.com/
HELP_CENTRE_API_FEED=http://api:8000/help-centre/announcement
HELP_CENTRE_ACCESS_KEY_ID=lookInVault
HELP_CENTRE_SECRET_ACCESS_KEY=lookInVault
HELP_CENTRE_URL=https://lookInVault.com/
NODE_ENV=development
OAUTH2_DEV_TOKEN=changeMe
POSTCODE_KEY=lookInVault
REDIS_HOST=redis
REDIS_URL=redis://redis:6379
SESSION_SECRET=lookInVault
ZEN_TICKETS_URL=https://lookInVault.com/
ZEN_TOKEN=lookInVault
# See Vault for the correct URLs to use.
# These URLs will default to production sites (as per the current behaviour) if left commented out.
# MARKET_ACCESS_URL=
# FIND_EXPORTERS_URL=
# DATA_WORKSPACE_URL=
# API vars
ACTIVITY_STREAM_ACCESS_KEY_ID=some-id
ACTIVITY_STREAM_SECRET_ACCESS_KEY=some-secret
ACTIVITY_STREAM_OUTGOING_URL=https://lookInVault.com/
ACTIVITY_STREAM_OUTGOING_ACCESS_KEY_ID=some-id
ACTIVITY_STREAM_OUTGOING_SECRET_ACCESS_KEY=some-secret
ADMIN_OAUTH2_ENABLED=false
DEFAULT_BUCKET_AWS_ACCESS_KEY_ID=foo
DEFAULT_BUCKET_AWS_DEFAULT_REGION=eu-west-2
DEFAULT_BUCKET_AWS_SECRET_ACCESS_KEY=bar
# Workaround for Docker/CircleCI compatibility problem with Python 3.8
COLUMNS=80
DATA_HUB_FRONTEND_ACCESS_KEY_ID=frontend-key-id
DATA_HUB_FRONTEND_SECRET_ACCESS_KEY=frontend-key
DATABASE_URL=postgresql://user:password@postgres/datahub
DEBUG=false
DEFAULT_BUCKET=baz
DISABLE_PAAS_IP_CHECK=true
DJANGO_SECRET_KEY=topSecret
DJANGO_SETTINGS_MODULE=config.settings.local
DJANGO_SUPERUSER_PASSWORD=whatEverYouWant
OPENSEARCH_URL=http://opensearch:9200
OPENSEARCH_INDEX_PREFIX=test_index
ES_APM_ENABLED=False
POSTGRES_URL=tcp://postgres:5432
REDIS_BASE_URL=redis://redis:6379
REDIS_CACHE_DB=5
REDIS_CELERY_DB=6
RESOURCE_SERVER_INTROSPECTION_URL=http://mock-sso:8080/o/introspect
SSO_ENABLED=false
SUPERUSER_ACCESS_TOKEN=ditStaffToken
WEB_CONCURRENCY=2
CONSENT_SERVICE_BASE_URL=http://mock-third-party-services:8555
CONSENT_SERVICE_HAWK_ID=dummyId
CONSENT_SERVICE_HAWK_KEY=dummyKey
DNB_SERVICE_BASE_URL=http://mock-third-party-services:8888
DNB_SERVICE_TOKEN=dummyToken
COMPANY_MATCHING_SERVICE_BASE_URL=http://mock-third-party-services:8888
COMPANY_MATCHING_HAWK_ID=dummyId
COMPANY_MATCHING_HAWK_KEY=dummyKey
# To run without SSO (needed for some test suites)
# There is an implicit dependency on this matching the case of the JSON boolean as joi populates it in a JSON config file
OAUTH2_BYPASS_SSO=true
# This is needed so the test/functional/cypress/specs/oauth/oauth-spec.js::testSignOut doesn't fail
OAUTH2_LOGOUT_URL=http://anyurl/o/logout
OAUTH2_AUTH_URL=http://anyurl/o/authorize
# To use SSO in dev uncomment set OAUTH2_BYPASS_SSO=true and uncomment one of the sections below
# # To run locally (non-dockerised)
# OAUTH2_BYPASS_SSO=false
# OAUTH2_AUTH_URL=http://localhost:8080/o/authorize
# OAUTH2_LOGOUT_URL=http://localhost:8080/o/logout
# # To use mock-sso
# OAUTH2_TOKEN_FETCH_URL=http://mock-sso:8080/o/token
# OAUTH2_USER_PROFILE_URL=http://mock-sso:8080/api/v1/user/me
# OAUTH2_AUTH_URL=http://mock-sso:8080/o/authorize
# OAUTH2_REDIRECT_URL=http://localhost:3000/oauth/callback
# OAUTH2_LOGOUT_URL=http://mock-sso:8080/o/logout
# OAUTH2_CLIENT_SECRET=youAintSeenMyRight
# OAUTH2_CLIENT_ID=randomClientId
# # To use live SSO
# OAUTH2_AUTH_URL=get-from-vault
# OAUTH2_CLIENT_ID=get-from-vault
# OAUTH2_CLIENT_SECRET=get-from-vault
# OAUTH2_LOGOUT_URL=get-from-vault
# OAUTH2_REDIRECT_URL=http://localhost:3000/oauth/callback
# OAUTH2_TOKEN_FETCH_URL=get-from-vault
# OAUTH2_USER_PROFILE_URL=get-from-vault
# Investment S3 Bucket for evidence uploads
INVESTMENT_DOCUMENT_BUCKET=https://lookInVault.com/
INVESTMENT_DOCUMENT_AWS_REGION=lookInVault