forked from Reuf12/lite-api
-
Notifications
You must be signed in to change notification settings - Fork 1
/
local.env
82 lines (63 loc) · 2.63 KB
/
local.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
DEBUG=True
# update username/password to match your local configuration
DATABASE_URL=postgres://postgres:password@localhost:5432/lite-api
# Comment above and uncomment below for running in docker
#DATABASE_URL=postgres://postgres:password@db:5432/lite-api
PORT=8100
ALLOWED_HOSTS=*
# SEED USERS
INTERNAL_USERS=[{"email": "", "role": "Super User"}]
# 'email' is required
# 'role' defaults to 'Super User' if not specified
EXPORTER_USERS=[{"email": "", "organisation": "Archway Communications", "role": "Super User"}]
# 'email' is required
# 'organisation' defaults to 'Archway Communications' and 'role' defaults to and 'Super User' if not specified
# INTERNAL_USERS are also seeded as exporter users so they do not need to be added
# to the EXPORTER_USERS variable
# Although, if you wish to specify what organisation or role they have as an exporter,
# you will need to add them to EXPORTER_USERS and specify that information there
# AWS
AWS_ACCESS_KEY_ID=AWS_ACCESS_KEY_ID
AWS_SECRET_ACCESS_KEY=AWS_SECRET_ACCESS_KEY
AWS_STORAGE_BUCKET_NAME=AWS_STORAGE_BUCKET_NAME
AWS_REGION=eu-west-2
# AV
AV_SERVICE_URL=AV_SERVICE_URL
AV_SERVICE_USERNAME=AV_SERVICE_USERNAME
AV_SERVICE_PASSWORD=AV_SERVICE_PASSWORD
# HMRC Integration
LITE_HMRC_INTEGRATION_ENABLED=False
LITE_HMRC_INTEGRATION_URL=LITE_HMRC_INTEGRATION_URL
PYTHONUNBUFFERED=1
BACKGROUND_TASK_ENABLED=False
UPLOAD_DOCUMENT_ENDPOINT_ENABLED=False
DJANGO_SECRET_KEY=DJANGO_SECRET_KEY
HAWK_AUTHENTICATION_ENABLED=False
LITE_EXPORTER_HAWK_KEY=LITE_EXPORTER_HAWK_KEY
LITE_INTERNAL_HAWK_KEY=LITE_INTERNAL_HAWK_KEY
LITE_E2E_HAWK_KEY=LITE_E2E_HAWK_KEY
LITE_PERFORMANCE_HAWK_KEY=LITE_PERFORMANCE_HAWK_KEY
LITE_HMRC_INTEGRATION_HAWK_KEY=LITE_HMRC_INTEGRATION_HAWK_KEY
LITE_ACTIVITY_STREAM_HAWK_KEY=LITE_ACTIVITY_STREAM_HAWK_KEY
LITE_API_HAWK_KEY=LITE_API_HAWK_KEY
PERFORMANCE_TEST_HOST=PERFORMANCE_TEST_HOST
PERFORMANCE_GOV_USER=PERFORMANCE_GOV_USER
PERFORMANCE_EXPORTER_USER=PERFORMANCE_EXPORTER_USER
PERFORMANCE_EXPORTER_ORGANISATION=PERFORMANCE_EXPORTER_ORGANISATION
# Gov notify
GOV_NOTIFY_ENABLED=False
GOV_NOTIFY_KEY=GOV_NOTIFY_KEY
INTERNAL_BASE_URL=INTERNAL_BASE_URL
# Document signing
DOCUMENT_SIGNING_ENABLED=False
P12_CERTIFICATE=P12_CERTIFICATE # Base64 encoded P12 file (Certificate & Private key)
CERTIFICATE_PASSWORD=CERTIFICATE_PASSWORD
SIGNING_EMAIL=SIGNING_EMAIL
SIGNING_LOCATION=SIGNING_LOCATION
SIGNING_REASON=SIGNING_REASON
PERMISSIONS_FINDER_URL='' # required for accessing exporter lite content, can be empty string
# seed data
LITE_API_DEMO_FLAGS_CSV="field\nteam1\nteam2"
LITE_API_DEMO_QUEUES_CSV="field\nteam1\nteam2"
LITE_API_DEMO_TEAMS_CSV="field\nteam1\nteam2"
ELASTICSEARCH_HOST=http://localost:9200