1
0
mirror of https://github.com/oceanprotocol/market.git synced 2024-12-02 05:57:29 +01:00

fix env vars

This commit is contained in:
Matthias Kretschmann 2020-07-15 12:15:17 +02:00
parent 187559ec3a
commit f954537929
Signed by: m
GPG Key ID: 606EEEF3C479A91F
2 changed files with 13 additions and 12 deletions

View File

@ -1,13 +1,13 @@
GATSBY_INFURA_PROJECT_ID="xxx" GATSBY_INFURA_PROJECT_ID="xxx"
# Local config # Local config
NODE_URI='http://localhost:8545' GATSBY_NODE_URI='http://localhost:8545'
METADATA_STORE_URI='http://aquarius:5000' GATSBY_METADATA_STORE_URI='http://aquarius:5000'
PROVIDER_URI='http://localhost:8030' GATSBY_PROVIDER_URI='http://localhost:8030'
FACTORY_ADDRESS='0x068ed00cf0441e4829d9784fcbe7b9e26d4bd8d0' GATSBY_FACTORY_ADDRESS='0x068ed00cf0441e4829d9784fcbe7b9e26d4bd8d0'
# Rinkeby # Rinkeby
#NODE_URI='https://pacific.oceanprotocol.com' #GATSBY_NODE_URI='https://pacific.oceanprotocol.com'
#METADATA_STORE_URI='https://aquarius.rinkeby.v3.dev-ocean.com' #GATSBY_METADATA_STORE_URI='https://aquarius.rinkeby.v3.dev-ocean.com'
#PROVIDER_URI='https://provider.rinkeby.v3.dev-ocean.com' #GATSBY_PROVIDER_URI='https://provider.rinkeby.v3.dev-ocean.com'
#FACTORY_ADDRESS='0xeD792C5FcC8bF3322a6ba89A6e51eF0B6fB3C530' #GATSBY_FACTORY_ADDRESS='0xeD792C5FcC8bF3322a6ba89A6e51eF0B6fB3C530'

View File

@ -1,13 +1,14 @@
module.exports = { module.exports = {
oceanConfig: { oceanConfig: {
nodeUri: process.env.NODE_URI || 'https://pacific.oceanprotocol.com', nodeUri: process.env.GATSBY_NODE_URI || 'https://pacific.oceanprotocol.com',
metadataStoreUri: metadataStoreUri:
process.env.METADATA_STORE_URI || process.env.GATSBY_METADATA_STORE_URI ||
'https://aquarius.rinkeby.v3.dev-ocean.com', 'https://aquarius.rinkeby.v3.dev-ocean.com',
providerUri: providerUri:
process.env.PROVIDER_URI || 'https://provider.rinkeby.v3.dev-ocean.com', process.env.GATSBY_PROVIDER_URI ||
'https://provider.rinkeby.v3.dev-ocean.com',
factoryAddress: factoryAddress:
process.env.FACTORY_ADDRESS || process.env.GATSBY_FACTORY_ADDRESS ||
'0x00c6A0BC5cD0078d6Cd0b659E8061B404cfa5704', '0x00c6A0BC5cD0078d6Cd0b659E8061B404cfa5704',
verbose: 3 verbose: 3
}, },