1
0
mirror of https://github.com/oceanprotocol/barge.git synced 2024-11-22 09:47:04 +01:00

fix commons

This commit is contained in:
alexcos20 2019-10-01 13:36:22 +00:00
parent 9d359f65fa
commit 97488f42b0
2 changed files with 12 additions and 6 deletions

View File

@ -22,15 +22,14 @@ services:
- commonsserver - commonsserver
environment: environment:
LOCAL_CONTRACTS: ${KEEPER_DEPLOY_CONTRACTS} LOCAL_CONTRACTS: ${KEEPER_DEPLOY_CONTRACTS}
REACT_APP_AQUARIUS_URI: ${AQUARIUS_URI} REACT_APP_AQUARIUS_URI: ${COMMONS_AQUARIUS_URI}
REACT_APP_BRIZO_ADDRESS: ${PROVIDER_ADDRESS} REACT_APP_BRIZO_ADDRESS: ${PROVIDER_ADDRESS}
LISTEN_ADDRESS: '0.0.0.0' LISTEN_ADDRESS: '0.0.0.0'
REACT_APP_SERVICE_URI: ${COMMONS_SERVER_URL} REACT_APP_SERVICE_URI: ${COMMONS_SERVER_URL}
REACT_APP_NODE_URI: ${KEEPER_RPC_URL} REACT_APP_NODE_URI: ${COMMONS_KEEPER_RPC_HOST}
REACT_APP_BRIZO_URI: ${BRIZO_URL} REACT_APP_BRIZO_URI: ${COMMONS_BRIZO_URL}
REACT_APP_SECRET_STORE_URI: ${SECRET_STORE_URL} REACT_APP_SECRET_STORE_URI: ${COMMONS_SECRET_STORE_URL}
REACT_APP_FAUCET_URI: ${FAUCET_URL} REACT_APP_FAUCET_URI: ${COMMONS_FAUCET_URL}
volumes: volumes:
- ${KEEPER_ARTIFACTS_FOLDER}:/app/frontend/node_modules/@oceanprotocol/keeper-contracts/artifacts/:ro - ${KEEPER_ARTIFACTS_FOLDER}:/app/frontend/node_modules/@oceanprotocol/keeper-contracts/artifacts/:ro

View File

@ -85,8 +85,15 @@ export AQUARIUS_URI=http://localhost:5000
# Default Faucet options # Default Faucet options
export FAUCET_TIMESPAN=${FAUCET_TIMESPAN:-24} export FAUCET_TIMESPAN=${FAUCET_TIMESPAN:-24}
export FAUCET_URL=http://localhost:3001 export FAUCET_URL=http://localhost:3001
#commons
export COMMONS_SERVER_URL=http://localhost:4000 export COMMONS_SERVER_URL=http://localhost:4000
export COMMONS_CLIENT_URL=http://localhost:3000 export COMMONS_CLIENT_URL=http://localhost:3000
export COMMONS_KEEPER_RPC_HOST=http://localhost:8545
export COMMONS_SECRET_STORE_URL=http://localhost:12001
export COMMONS_BRIZO_URL=${BRIZO_URL}
export COMMONS_AQUARIUS_URI=${AQUARIUS_URI}
export COMMONS_FAUCET_URL=${FAUCET_URL}
# Export User UID and GID # Export User UID and GID
export LOCAL_USER_ID=$(id -u) export LOCAL_USER_ID=$(id -u)