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

Merge pull request #201 from oceanprotocol/v2

switch to v2 components
This commit is contained in:
Matthias Kretschmann 2019-12-09 15:18:14 +01:00 committed by GitHub
commit f81c7dd12b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 19 additions and 15 deletions

View File

@ -66,8 +66,8 @@ The startup script comes with a set of options for customizing various things.
The default versions are always a combination of component versions which are considered stable.
| Aquarius | Brizo | Events Handler | Keeper | Commons | Faucet |
| -------- | --------- | -------------- | --------- | -------- | -------- |
| `v0.3.9` | `v0.4.6` | `v0.1.2` | `v0.12.7` | `v1.3.1` | `v0.3.2` |
| -------- | -------- | -------------- | --------- | -------- | -------- |
| `v1.0.5` | `v0.7.2` | `v0.3.4` | `v0.12.7` | `v2.0.0` | `v0.3.2` |
You can use the `--latest` option to pull the most recent Docker images for all components, which are always tagged as `latest` in Docker. The `latest` Docker image tag derives from the default main branch of the component's Git repo.
@ -130,7 +130,7 @@ By default it will start two containers (client & server). If Commons is running
This Building Block can be disabled by setting the `--no-commons` flag.
| Hostname | External Port | Internal URL | Local URL | Description |
|------------------|---------------|----------------------------|-----------------------|----------------------------------------------------------- |
| ---------------- | ------------- | -------------------------- | --------------------- | ---------------------------------------------------------- |
| `commons-client` | `3000` | http://commons-client:3000 | http://localhost:3000 | [Commons Client](https://github.com/oceanprotocol/commons) |
| `commons-server` | `4000` | http://commons-server:4000 | http://locahost:4000 | [Commons Server](https://github.com/oceanprotocol/commons) |

View File

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

View File

@ -25,13 +25,14 @@ DIR="${DIR/ /\\ }"
COMPOSE_DIR="${DIR}/compose-files"
# Default versions of Aquarius, Brizo, Keeper Contracts and Commons
export AQUARIUS_VERSION=${AQUARIUS_VERSION:-v0.3.9}
export BRIZO_VERSION=${BRIZO_VERSION:-v0.4.6}
export EVENTS_HANDLER_VERSION=${EVENTS_HANDLER_VERSION:-v0.1.2}
export AQUARIUS_VERSION=${AQUARIUS_VERSION:-v1.0.5}
export BRIZO_VERSION=${BRIZO_VERSION:-v0.7.2}
export EVENTS_HANDLER_VERSION=${EVENTS_HANDLER_VERSION:-v0.3.4}
export KEEPER_VERSION=${KEEPER_VERSION:-v0.12.7}
export FAUCET_VERSION=${FAUCET_VERSION:-v0.3.2}
export COMMONS_SERVER_VERSION=${COMMONS_SERVER_VERSION:-v1.3.1}
export COMMONS_CLIENT_VERSION=${COMMONS_CLIENT_VERSION:-v1.3.1}
export COMMONS_SERVER_VERSION=${COMMONS_SERVER_VERSION:-v2.0.0}
export COMMONS_CLIENT_VERSION=${COMMONS_CLIENT_VERSION:-v2.0.0}
export PARITY_IMAGE="parity/parity:v2.5.7-stable"
export PROJECT_NAME="ocean"
@ -123,6 +124,8 @@ 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 OPERATOR_SERVICE_URL=http://127.0.0.1:8050
# Export User UID and GID
export LOCAL_USER_ID=$(id -u)
export LOCAL_GROUP_ID=$(id -g)