-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.env.example
34 lines (33 loc) · 1.27 KB
/
.env.example
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
# Location of the NGSI-LD endpoint
NGSI_HOST=http://localhost:9090/ngsi-ld/v1
# types that the broker contains (will be removed when /types discovery is supported)
NGSI_TYPES=https://www.w3.org/TR/vocab-ssn-ext/#sosa:ObservationCollection https://example.org/test
# Use timeAt and endTimeAt (v1.3.1) instead of time and endTime
NGSI_USETIMEAT=false
# count parameter
NGSI_USECOUNTISTRUE=true
# timeProperty (should be modifiedAt or observedAt)
NGSI_TIMEPROPERTY=observedAt
# Whether authentication is needed (for OpenID or API key)
NGSI_ISAUTHENTICATED=false
# OpenID config
NGSI_AUTHORIZATIONWELLKNOWN=FILL_IN_OPENID_WELLKNOWN_CONFIGURATION_LINK
NGSI_CLIENT_ID=FILL_IN_CLIENT_ID
NGSI_CLIENT_SECRET=FILL_IN_CLIENT_SECRET
NGSI_SCOPE=openid
# API KEY config
NGSI_X_API_KEY=FILL_IN_API_KEY
SERVER_BASE_URL=http://localhost:3000/
SERVER_PORT=3000
PUBLIC_BASE_URL=https://yourpublicdomain/
# Limit to use and the number of entities per fragment
API_LIMIT=5
# Output KeyValues representation
API_KEYVALUES=true
# Create version objects
API_ENABLE_VERSIONING=false
API_VERSION_OF_PATH=dcterms:isVersionOf
# How long mutable fragments must be cached in seconds
MAX_AGE_MUTABLE_FRAGMENTS=60
# URL to context registry
NOTIFY_CONTEXT_REGISTRY=http://localhost:9090/ngsi-ld/v1