mirror of
https://github.com/oceanprotocol/commons.git
synced 2023-03-15 18:03:00 +01:00
Service parameters as env variables
This commit is contained in:
parent
f65d8cd406
commit
a5d6245519
@ -1,37 +1,34 @@
|
||||
//
|
||||
// commons-server connection
|
||||
//
|
||||
export const serviceScheme = 'http'
|
||||
export const serviceHost = 'localhost'
|
||||
export const servicePort = 4000
|
||||
export const serviceScheme = process.env.SERVICE_SCHEME || 'http'
|
||||
export const serviceHost = process.env.SERVICE_HOST || 'localhost'
|
||||
export const servicePort = process.env.SERVICE_PORT || 4000
|
||||
|
||||
//
|
||||
// OCEAN REMOTE CONNECTIONS
|
||||
//
|
||||
export const nodeScheme = 'https'
|
||||
export const nodeHost = 'nile.dev-ocean.com'
|
||||
export const nodePort = 443
|
||||
export const nodeScheme = process.env.NODE_SCHEME || 'https'
|
||||
export const nodeHost = process.env.NODE_HOST || 'nile.dev-ocean.com'
|
||||
export const nodePort = process.env.NODE_PORT || 443
|
||||
|
||||
export const aquariusScheme = 'https'
|
||||
export const aquariusHost = 'nginx-aquarius.dev-ocean.com'
|
||||
export const aquariusPort = 443
|
||||
export const aquariusScheme = process.env.AQUARIUS_SCHEME || 'https'
|
||||
export const aquariusHost = process.env.AQUARIUS_HOST || 'nginx-aquarius.dev-ocean.com'
|
||||
export const aquariusPort = process.env.AQUARIUS_PORT || 443
|
||||
|
||||
export const brizoScheme = 'https'
|
||||
export const brizoHost = 'nginx-brizo.dev-ocean.com'
|
||||
export const brizoPort = 443
|
||||
export const brizoAddress = '0x376817c638d2a04f475a73af37f7b51a2862d567'
|
||||
export const brizoScheme = process.env.BRIZO_SCHEME || 'https'
|
||||
export const brizoHost = process.env.BRIZO_HOST || 'nginx-brizo.dev-ocean.com'
|
||||
export const brizoPort = process.env.BRIZO_PORT || 443
|
||||
export const brizoAddress = process.env.BRIZO_ADDRESS || '0x376817c638d2a04f475a73af37f7b51a2862d567'
|
||||
|
||||
export const parityScheme = 'https'
|
||||
export const parityHost = 'nile.dev-ocean.com'
|
||||
export const parityPort = 443
|
||||
export const parityScheme = process.env.PARITY_SCHEME || 'https'
|
||||
export const parityHost = process.env.PARITY_HOST || 'nile.dev-ocean.com'
|
||||
export const parityPort = process.env.PARITY_PORT || 443
|
||||
|
||||
export const secretStoreScheme = 'https'
|
||||
export const secretStoreHost = 'secret-store.dev-ocean.com'
|
||||
export const secretStorePort = 443
|
||||
export const secretStoreScheme = process.env.SECRET_STORE_SCHEME || 'https'
|
||||
export const secretStoreHost = process.env.SECRET_STORE_HOST || 'secret-store.dev-ocean.com'
|
||||
export const secretStorePort = process.env.SECRET_STORE_PORT || 443
|
||||
|
||||
export const faucetScheme = 'https'
|
||||
export const faucetHost = 'faucet.nile.dev-ocean.com'
|
||||
export const faucetPort = 443
|
||||
export const faucetScheme = process.env.FAUCET_SCHEME || 'https'
|
||||
export const faucetHost = process.env.FAUCET_HOST || 'faucet.nile.dev-ocean.com'
|
||||
export const faucetPort = process.env.FAUCET_PORT || 443
|
||||
|
||||
//
|
||||
// OCEAN LOCAL CONNECTIONS
|
||||
@ -65,3 +62,4 @@ export const faucetPort = 443
|
||||
// export const faucetPort = 3001
|
||||
|
||||
export const verbose = true
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user