This repository has been archived by the owner on Mar 13, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy path.env.example
76 lines (60 loc) · 1.98 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
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
MODE=dev
# URL of RPC node
WEB3=http://localhost:8545
UI_BASE_URL=http://localhost:3000
# Debug key used to trigger `/debug/*` endpoints (refer to swagger for endpoint docs)
DEBUG_API_KEY=debug
# --- Port used by backend to run the server --- #
BACKEND_PORT=3040
# --- DATABASE --- #
DB_HOST=localhost
DB_PORT=5432
DB_USERNAME=postgres
DB_PASSWORD=postgres
DB_DATABASE=origin
# --- AUTH ---
# Secret phrase used to encrypt JWT tokens
JWT_SECRET=thisisnotsecret
# Token expiration tim
JWT_EXPIRY_TIME="7 days"
# --- BLOCKCHAIN wallet mnemonic--- #
MNEMONIC="stone eyebrow bronze glide upon subject camera cushion rice outside swing casual"
# --- SMART METER READINGS --- #
# InfluxDB configuration variables
INFLUXDB_URL=http://localhost:8086
INFLUXDB_TOKEN=admin:admin
INFLUXDB_ORG=
INFLUXDB_BUCKET=energy/autogen
# Optional for influxdb-init.sh script
INFLUXDB_DB=energy
INFLUXDB_ADMIN_USER=admin
INFLUXDB_ADMIN_PASSWORD=admin
INFLUXDB_USER=api
INFLUXDB_USER_PASSWORD=secretpassword
# UI variables
# URL of backend to use for frontend app
REACT_APP_BACKEND_URL=http://localhost:3040
REACT_APP_ISSUER_ADDRESS=0x28130b5603cfcd597862a1F6786Ab430Ddc2B92F
# Supported networkd ID's used by Metamask, separating them by a semicolon ';'
REACT_APP_SUPPORTED_NETWORK_IDS=1337;73799;246
REACT_APP_BLOCKCHAIN_EXPLORER_URL=https://volta-explorer.energyweb.org
# ------- OPTIONAL UI variables ------- #
REACT_APP_GOOGLE_MAPS_API_KEY=<API_KEY>
REACT_APP_REGISTRATION_MESSAGE_TO_SIGN='I register as D-REC Origin user'
# Delay (in ms) between processing blockchain commands (issue, claim, transfer)
CERTIFICATE_QUEUE_DELAY=
# Redis URL
REDIS_URL=
# --- MAIL CONFIG ---
SMTP_HOST='smtp.gmail.com'
SMTP_PORT=587
SMTP_LOGIN='[email protected]'
SMTP_PASSWORD=klihqluatsokhxku
EMAIL_FROM_NAME=Energy Web Origin
REGISTRATION_MESSAGE_TO_SIGN='I register as D-REC Origin user'
# BBOX developer connection data to pull reads for BBOX devices
BBOX_USERNAME=
BBOX_PASSWORD=
BBOX_SERVER=
BBOX_AUTH_SERVER=