Skip to content

Commit f81c7dd

Browse files
authored
Merge pull request #201 from oceanprotocol/v2
switch to v2 components
2 parents 6f46bf2 + 62f7ba6 commit f81c7dd

File tree

3 files changed

+19
-15
lines changed

3 files changed

+19
-15
lines changed

README.md

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -65,9 +65,9 @@ The startup script comes with a set of options for customizing various things.
6565

6666
The default versions are always a combination of component versions which are considered stable.
6767

68-
| Aquarius | Brizo | Events Handler | Keeper | Commons | Faucet |
69-
| -------- | --------- | -------------- | --------- | -------- | -------- |
70-
| `v0.3.9` | `v0.4.6` | `v0.1.2` | `v0.12.7` | `v1.3.1` | `v0.3.2` |
68+
| Aquarius | Brizo | Events Handler | Keeper | Commons | Faucet |
69+
| -------- | -------- | -------------- | --------- | -------- | -------- |
70+
| `v1.0.5` | `v0.7.2` | `v0.3.4` | `v0.12.7` | `v2.0.0` | `v0.3.2` |
7171

7272
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.
7373

@@ -129,8 +129,8 @@ By default it will start two containers (client & server). If Commons is running
129129

130130
This Building Block can be disabled by setting the `--no-commons` flag.
131131

132-
| Hostname | External Port | Internal URL | Local URL | Description |
133-
|------------------|---------------|----------------------------|-----------------------|----------------------------------------------------------- |
132+
| Hostname | External Port | Internal URL | Local URL | Description |
133+
| ---------------- | ------------- | -------------------------- | --------------------- | ---------------------------------------------------------- |
134134
| `commons-client` | `3000` | http://commons-client:3000 | http://localhost:3000 | [Commons Client](https://github.com/oceanprotocol/commons) |
135135
| `commons-server` | `4000` | http://commons-server:4000 | http://locahost:4000 | [Commons Server](https://github.com/oceanprotocol/commons) |
136136

@@ -233,11 +233,11 @@ you will have available a keeper node in the local and private Spree Network wit
233233
| `0xe08A1dAe983BC701D05E492DB80e0144f8f4b909` | mnemonic | [info here](#spree-mnemonic) | 1000000000 Ether |
234234
| `0xbcE5A3468386C64507D30136685A99cFD5603135` | mnemonic | [info here](#spree-mnemonic) | 1000000000 Ether |
235235

236-
Use one of the above accounts to populate `PROVIDER_ADDRESS`, `PROVIDER_PASSWORD` and `PROVIDER_KEYFILE` in `start_ocean.sh`.
237-
This account will is used in `brizo` and `events-handler` as the `provider` account which is important for processing the
238-
service agreements flow. The `PROVIDER_KEYFILE` must be placed in the `accounts` folder and must match the ethereum
239-
address from `PROVIDER_ADDRESS`. The `PROVIDER_ADDRESS` is also set in `commons` instance so that published assets get
240-
assigned the correct provider address.
236+
Use one of the above accounts to populate `PROVIDER_ADDRESS`, `PROVIDER_PASSWORD` and `PROVIDER_KEYFILE` in `start_ocean.sh`.
237+
This account will is used in `brizo` and `events-handler` as the `provider` account which is important for processing the
238+
service agreements flow. The `PROVIDER_KEYFILE` must be placed in the `accounts` folder and must match the ethereum
239+
address from `PROVIDER_ADDRESS`. The `PROVIDER_ADDRESS` is also set in `commons` instance so that published assets get
240+
assigned the correct provider address.
241241

242242
### Spree Mnemonic
243243

compose-files/brizo.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ services:
2323
LOG_LEVEL: ${BRIZO_LOG_LEVEL}
2424
BRIZO_WORKERS: ${BRIZO_WORKERS}
2525
IPFS_GATEWAY: ${BRIZO_IPFS_GATEWAY}
26+
OPERATOR_SERVICE_URL: ${OPERATOR_SERVICE_URL}
2627
volumes:
2728
- ${KEEPER_ARTIFACTS_FOLDER}:/usr/local/keeper-contracts:ro
2829
- ${ACCOUNTS_FOLDER}:/accounts

start_ocean.sh

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -25,13 +25,14 @@ DIR="${DIR/ /\\ }"
2525
COMPOSE_DIR="${DIR}/compose-files"
2626

2727
# Default versions of Aquarius, Brizo, Keeper Contracts and Commons
28-
export AQUARIUS_VERSION=${AQUARIUS_VERSION:-v0.3.9}
29-
export BRIZO_VERSION=${BRIZO_VERSION:-v0.4.6}
30-
export EVENTS_HANDLER_VERSION=${EVENTS_HANDLER_VERSION:-v0.1.2}
28+
export AQUARIUS_VERSION=${AQUARIUS_VERSION:-v1.0.5}
29+
export BRIZO_VERSION=${BRIZO_VERSION:-v0.7.2}
30+
export EVENTS_HANDLER_VERSION=${EVENTS_HANDLER_VERSION:-v0.3.4}
3131
export KEEPER_VERSION=${KEEPER_VERSION:-v0.12.7}
3232
export FAUCET_VERSION=${FAUCET_VERSION:-v0.3.2}
33-
export COMMONS_SERVER_VERSION=${COMMONS_SERVER_VERSION:-v1.3.1}
34-
export COMMONS_CLIENT_VERSION=${COMMONS_CLIENT_VERSION:-v1.3.1}
33+
export COMMONS_SERVER_VERSION=${COMMONS_SERVER_VERSION:-v2.0.0}
34+
export COMMONS_CLIENT_VERSION=${COMMONS_CLIENT_VERSION:-v2.0.0}
35+
3536
export PARITY_IMAGE="parity/parity:v2.5.7-stable"
3637

3738
export PROJECT_NAME="ocean"
@@ -123,6 +124,8 @@ export COMMONS_FAUCET_URL=${FAUCET_URL}
123124
export COMMONS_IPFS_GATEWAY_URI=https://ipfs.oceanprotocol.com
124125
export COMMONS_IPFS_NODE_URI=https://ipfs.oceanprotocol.com:443
125126

127+
export OPERATOR_SERVICE_URL=http://127.0.0.1:8050
128+
126129
# Export User UID and GID
127130
export LOCAL_USER_ID=$(id -u)
128131
export LOCAL_GROUP_ID=$(id -g)

0 commit comments

Comments
 (0)