Commit b7e83898 authored by Tero Ojanen's avatar Tero Ojanen
Browse files

Example .env

parent 28629a44
Loading
Loading
Loading
Loading

.env.example

0 → 100644
+37 −0
Changes for .env.example: 37 added lines, 0 removed lines.
Original line number Diff line number Diff line
CBROKER = 'http://orion:1026' # Orion-LD
ORION_URL = 'http://localhost:1026/ngsi-ld/v1'
ORION_SHORT_URL = 'http://localhost:1026'

CONTEXT = 'https://smartdatamodels.org/context.jsonld' # Context

APP_URL = 'http://localhost:3000' # App
PORT=3000

QL_BASE = 'http://localhost:8668' # Quantum Leap Service
QLEAP = 'http://quantumleap:8668'

MQTT_URL = 'mqtt://localhost:1884' # MQTT

IOTA_NORTH_URL = 'http://localhost:4041' # IoT
IOTA_SOUTH_URL = 'http://localhost:7896'
IOTA_CONTENT_TYPE = 'application/ld+json'
IOTA_SERVICE = 'openiot'
IOTA_SERVICE_PATH = '/'
IOTA_APIKEY='fiware'

SMTP_HOST='smtp.gmail.com' # Email alerts
SMTP_PORT=465
SMTP_SECURE=true
SMTP_USER=''
SMTP_PASS=''
ALERT_FROM='FIWARE ALERT SYSTEM'
ALERT_TO=''

KEYROCK_CLIENT_ID='<YOUR OWN OAUTH2 CLIENT ID FROM KEYROCK (see examples)>' # Keyrock idm and authentication
KEYROCK_CLIENT_SECRET='<YOUR OWN OAUTH2 CLIENT SECRET FROM KEYROCK (see examples)>'
OAUTH_CLIENT_ID='<YOUR OWN OAUTH2 CLIENT ID FROM KEYROCK (see examples)>'
OAUTH_CLIENT_SECRET='<YOUR OWN OAUTH2 CLIENT SECRET FROM KEYROCK (see examples)>'
KEYROCK_URL='http://localhost:4000'
OAUTH_AUTH_URL = 'http://localhost:4000/oauth2/authorize'
OAUTH_TOKEN_URL = 'http://localhost:4000/oauth2/token'
OAUTH_CALLBACK_URL = 'http://localhost:3000/fiware/auth/callback'
 No newline at end of file