This repository has been archived by the owner on Dec 9, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2
/
sample_env
90 lines (72 loc) · 3.37 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
# App environment variables
DEBUG=True
DJANGO_SECRET_KEY=supersecretkey
# Database settings
DATABASE_CREDENTIALS='{"username": "postgres", "password": "password", "engine": "postgres", "port": 5432, "dbname": "postgres", "host": "db", "dbInstanceIdentifier": "emt-db"}'
# Sentry
DJANGO_SENTRY_DSN=""
ENQUIRIES_PER_PAGE=10
ENQUIRY_RESPONSIVENESS_PERIOD_WEEKS=6
# DataHub links
DATA_HUB_FRONTEND==https://www.datahub.dev.uktrade.io
DATA_HUB_CREATE_COMPANY_PAGE_URL=https://www.datahub.dev.uktrade.io/companies/create
# DataHub API variables when running Data Hub API locally on port 8000
DATA_HUB_METADATA_URL=http://docker.for.mac.localhost:8000/v4/metadata
DATA_HUB_COMPANY_SEARCH_URL=http://docker.for.mac.localhost:8000/v4/search/company
DATA_HUB_CONTACT_SEARCH_URL=http://docker.for.mac.localhost:8000/v3/search/contact
DATA_HUB_CONTACT_CREATE_URL=http://docker.for.mac.localhost:8000/v3/contact
DATA_HUB_INVESTMENT_CREATE_URL=http://docker.for.mac.localhost:8000/v3/investment
DATA_HUB_ADVISER_SEARCH_URL=http://docker.for.mac.localhost:8000/adviser/
DATA_HUB_WHOAMI_URL=http://docker.for.mac.localhost:8000/whoami/
# Hawk
DATA_HUB_ENQUIRY_MGMT_HAWK_ID=data-hub-enquiry-mgmt-hawk-id
DATA_HUB_ENQUIRY_MGMT_HAWK_SECRET_KEY=data-hub-enquiry-mgmt-hawk-secret-key
# Celery and Redis
ENQUIRY_STATUS_UPDATE_INTERVAL_DAYS=1
ENQUIRY_STATUS_SHOULD_UPDATE=0
REDIS_BASE_URL=redis://redis:6379
CELERY_TIMEZONE=Europe/london
# Staff SSO/OAuth2 settings
FEATURE_ENFORCE_STAFF_SSO_ENABLED=1
# Control Consent Service
FEATURE_ENFORCE_CONSENT_SERVICE=1
# The AUTHBROKER_URL needs to be accessible from the browser for the
# authorization redirect and also from the Docker container for the access token
# POST request, and the only way to do this is to use the
# docker.for.mac.localhost host provided by Docker.
AUTHBROKER_URL=http://docker.for.mac.localhost:8080
AUTHBROKER_CLIENT_ID=contact-web-ops-for-details
AUTHBROKER_CLIENT_SECRET=contact-web-ops-for-details
AUTHBROKER_TOKEN_SESSION_KEY=_authbroker_token
AUTHBROKER_STAFF_SSO_SCOPE=dummy-scope
MOCK_SSO_TOKEN=dummy-token
MOCK_SSO_SCOPE=dummy-scope
MOCK_SSO_USERNAME=testuser
MOCK_SSO_EMAIL_USER_ID=testuser@example.com
COMPOSE_PROJECT_NAME=enquiry-mgmt-tool
# Allow http for the OAuth flow (only in local development!)
OAUTHLIB_INSECURE_TRANSPORT=1
# Activity Stream
ACTIVITY_STREAM_ENQUIRY_POLL_INTERVAL_MINS=1
ACTIVITY_STREAM_KEY_ID=enquiry-mgmt-key-id
ACTIVITY_STREAM_KEY=enquiry-mgmt-secret-key
ACTIVITY_STREAM_SEARCH_URL=https://activity-stream/search
ACTIVITY_STREAM_SEARCH_TARGET_URL=/international/invest/contact/
ACTIVITY_STREAM_ENQUIRY_SEARCH_KEY1=enquiry-key-1
ACTIVITY_STREAM_ENQUIRY_SEARCH_VALUE1=enquiry-value-2
ACTIVITY_STREAM_ENQUIRY_SEARCH_KEY2=enquiry-key-2
ACTIVITY_STREAM_ENQUIRY_SEARCH_VALUE2=enquiry-value-2
ACTIVITY_STREAM_ENQUIRY_DATA_OBJ=enquiry-data-obj
# Date from which enquiry data is to be fetched in AS
ACTIVITY_STREAM_INITIAL_LOAD_DATE=01-January-2020
# Settings for CSRF and Session cookies
CSRF_COOKIE_SECURE=False
CSRF_COOKIE_HTTPONLY=False
SESSION_COOKIE_SECURE=False
# SESSION_COOKIE_AGE=36000 # Optional, defaults to 32400 (9 hours)
# Set HSTS headers, only needs to be True in Production
SET_HSTS_HEADERS=False
NON_RESPONSIVE_ENQUIRY_INITIAL_LOAD_DATE=01-April-2020
ACTIVITY_STREAM_SECOND_QUALIFICATION_SEARCH_NAME=enquiry-data-search-name
ACTIVITY_STREAM_SECOND_QUALIFICATION_SEARCH_VALUE=enquiry-data-search-value
ALLOW_TEST_FIXTURE_SETUP=allow