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

add and set IPFS-related env vars

This commit is contained in:
Matthias Kretschmann 2019-10-14 15:14:23 +02:00
parent 28aa10a05d
commit 69301acd3c
Signed by: m
GPG Key ID: 606EEEF3C479A91F
3 changed files with 8 additions and 0 deletions

View File

@ -22,6 +22,7 @@ services:
PROVIDER_KEYFILE: ${PROVIDER_KEYFILE}
LOG_LEVEL: ${BRIZO_LOG_LEVEL}
BRIZO_WORKERS: ${BRIZO_WORKERS}
IPFS_GATEWAY: ${BRIZO_IPFS_GATEWAY}
volumes:
- ${KEEPER_ARTIFACTS_FOLDER}:/usr/local/keeper-contracts:ro
- ${ACCOUNTS_FOLDER}:/accounts

View File

@ -7,6 +7,8 @@ services:
ipv4_address: 172.15.0.23
ports:
- 4000:4000
environment:
IPFS_GATEWAY_URI: ${COMMONS_IPFS_GATEWAY_URI}
commonsclient:
image: oceanprotocol/commons_client:$COMMONS_CLIENT_VERSION
@ -32,6 +34,8 @@ services:
REACT_APP_BRIZO_URI: ${COMMONS_BRIZO_URL}
REACT_APP_SECRET_STORE_URI: ${COMMONS_SECRET_STORE_URL}
REACT_APP_FAUCET_URI: ${COMMONS_FAUCET_URL}
REACT_APP_IPFS_GATEWAY_URI: ${COMMONS_IPFS_GATEWAY_URI}
REACT_APP_IPFS_NODE_URI: ${COMMONS_IPFS_NODE_URI}
volumes:
- ${KEEPER_ARTIFACTS_FOLDER}:/app/frontend/node_modules/@oceanprotocol/keeper-contracts/artifacts/:ro

View File

@ -85,6 +85,7 @@ export BRIZO_WORKERS=${BRIZO_WORKERS:-5}
export BRIZO_LOG_LEVEL="INFO"
export EVENTS_HANDLER_LOG_LEVEL="INFO"
export BRIZO_URL=http://${IP}:8030
export BRIZO_IPFS_GATEWAY=https://ipfs.oceanprotocol.com
# Set a valid parity address and password to have seamless interaction with the `keeper`
# it has to exist on the secret store signing node and as well on the keeper node
@ -118,6 +119,8 @@ export FAUCET_TIMESPAN=${FAUCET_TIMESPAN:-24}
export COMMONS_BRIZO_URL=${BRIZO_URL}
export COMMONS_AQUARIUS_URI=${AQUARIUS_URI}
export COMMONS_FAUCET_URL=${FAUCET_URL}
export COMMONS_IPFS_GATEWAY_URI=https://ipfs.oceanprotocol.com
export COMMONS_IPFS_NODE_URI=https://ipfs.oceanprotocol.com:443
# Export User UID and GID
export LOCAL_USER_ID=$(id -u)