# ------- REQUIRED --------- # MODE=dev #DB credentials DB_USERNAME=postgres DB_PASSWORD=postgres DB_HOST=localhost DB_PORT=5432 DB_DATABASE=origin # DB_SSL_OFF=true # --- SMART METER READINGS --- # 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 # URLs # You can add multiple WEB3 nodes, separated by a semilcolon ';'. e.g. WEB3=http://localhost:8545;http://localhost:8550 WEB3=http://localhost:8545 BACKEND_URL=http://localhost:3030 UI_BASE_URL=http://localhost:3000 BLOCKCHAIN_EXPLORER_URL=https://volta-explorer.energyweb.org # Supported networkd ID's used by Metamask, separating them by a semicolon ';' SUPPORTED_NETWORK_IDS=1337;73799;246 # Secret keys DEPLOY_KEY=d9066ff9f753a1898709b568119055660a77d9aae4d7a4ad677b8fb3d2a571e5 # Optional encryption key for default issuer-api encryption adapter OPERATOR_ENCRYPTION_KEY=somerandompassword # JWT JWT_SECRET=thishastobesecret13213 # JWT Expiry Time in format https://github.com/zeit/ms JWT_EXPIRY_TIME=7 days # ------- OPTIONAL ------- # GOOGLE_MAPS_API_KEY= # Needed for automated e-mail notifications # MANDRILL_API_KEY - API key generated by mandrill.com MANDRILL_API_KEY= # EMAIL_FROM - E-mail from which you want to send email addresses EMAIL_FROM=no-reply@example.com # EMAIL_REPLY_TO - E-mail to which we the users would be able to reply EMAIL_REPLY_TO=reply-to@example.com EMAIL_FROM_NAME=Energy Web Origin SOLAR_SIMULATOR_DEPLOY_PAST_READINGS=false SOLAR_SIMULATOR_PAST_READINGS_MINUTES_INTERVAL=60 REGISTRATION_MESSAGE_TO_SIGN=I register as Origin user # Specifies the allowance for users to select between Trade Accounts on device creation and certificate request SINGLE_ACCOUNT_MODE=false # --- EXCHANGE --- # # Thailand utc offset by default MARKET_UTC_OFFSET=420 # Private key of the account used to deploy users accounts EXCHANGE_ACCOUNT_DEPLOYER_PRIV=0xd9066ff9f753a1898709b568119055660a77d9aae4d7a4ad677b8fb3d2a571e5 # Public key of the exchange wallet EXCHANGE_WALLET_PUB=0xD173313A51f8fc37BcF67569b463abd89d81844f # Private key of the exchange wallet EXCHANGE_WALLET_PRIV=0xd9066ff9f753a1898709b568119055660a77d9aae4d7a4ad677b8fb3d2a571e5 # Dictates how often the matching engine will trigger EXCHANGE_MATCHING_INTERVAL=1000 # Minimum amount of EWT that the withdrawal wallet needs to have. Default = 1 EXCHANGE_WALLET_MIN_EWT=1 # Issuer ID type ISSUER_ID=Issuer ID # Smart Meter Readings type SMART_METER_ID=Smart Meter Readings API ID # Price strategy; check @energyweb/exchange-core/PriceStrategy enum for values EXCHANGE_PRICE_STRATEGY=0 # Possible options: GRID_OPERATOR and LOCATION, should be comma separated DEVICE_PROPERTIES_ENABLED=GRID_OPERATOR,LOCATION # Amount of energy in single certificate ENERGY_PER_UNIT=1000000 DEFAULT_ENERGY_IN_BASE_UNIT=1 IREC_API_URL= # Organization code of the issuer used for device creation in IREC IREC_CREATE_DEVICE_ISSUER=