first cut
This commit is contained in:
parent
93499a2e34
commit
04613b8d1e
13
README.md
13
README.md
|
@ -136,6 +136,9 @@ export AQUARIUS_LOG_LEVEL=DEBUG
|
|||
| `--purge` | Removes the Docker containers, volumes, artifact folder and networks used by the script. |
|
||||
| `--exposeip` | Binds the components to that specific ip. Example: `./start_ocean.sh --exposeip 192.168.0.1` |
|
||||
| `--with-c2d` | Runs a local C2D Cluster |
|
||||
| `--with-dbs` | Runs local DBS + arweave microservice + filecoin microservice |
|
||||
| `--no-dbs-filecoin` | Starts without filecoin microservices, if --with-dbs option is present |
|
||||
| `--no-dbs-arweave` | Starts without arweave microservices, if --with-dbs option is present |
|
||||
|
||||
|
||||
|
||||
|
@ -172,6 +175,16 @@ This Building Block can be disabled by setting the `--no-aquarius` flag.
|
|||
| ----------- | ------------- | --------------------- | --------------------- | --------------------------------------------------- |
|
||||
| `graphnode` | `9000` | http://graphnode:9000 | http://localhost:9000 | |
|
||||
|
||||
|
||||
### DBS
|
||||
|
||||
| Hostname | External Port | Internal Port | Description |
|
||||
| ----------- | ------------- | --------------------- | --------------------------------------------------- |
|
||||
| `dbs` | `26800` | `8000` | DBS Backend |
|
||||
| `dbs_arweave` | `28808` | `8001` | DBS Arweave |
|
||||
| `dbs_filecoin` | `27300` | `3000` | DBS Filecoin |
|
||||
|
||||
|
||||
### ocean-contracts
|
||||
|
||||
* Deploy all smart contracts from the `ocean-contracts` repo
|
||||
|
|
|
@ -0,0 +1,14 @@
|
|||
version: '3'
|
||||
services:
|
||||
dbs:
|
||||
image: oceanprotocol/dbs:${DBS_VERSION:-latest}
|
||||
ports:
|
||||
- '26800:8000'
|
||||
networks:
|
||||
backend:
|
||||
ipv4_address: 172.15.0.26
|
||||
volumes:
|
||||
- dbs_sqlite3:/usr/src/app/db.sqlite3
|
||||
volumes:
|
||||
dbs_sqlite3:
|
||||
|
|
@ -0,0 +1,20 @@
|
|||
version: '3'
|
||||
services:
|
||||
dbs_filecoin:
|
||||
image: oceanprotocol/dbs_arweave:${DBS_ARWEAVE_VERSION:-latest}
|
||||
ports:
|
||||
- '28808:8081'
|
||||
networks:
|
||||
backend:
|
||||
ipv4_address: 172.15.0.28
|
||||
environment:
|
||||
ACCEPTED_PAYMENTS: "0x2473f4F7bf40ed9310838edFCA6262C17A59DF64"
|
||||
NODE_RPC_URIS: "http://172.15.0.3:8545"
|
||||
PRIVATE_KEY: "0xfd5c1ccea015b6d663618850824154a3b3fb2882c46cefb05b9a93fea8c3d215"
|
||||
DBS_URI: "http://172.15.0.26:8000"
|
||||
IPFS_GATEWAY: "http://172.15.0.16:8080/ipfs"
|
||||
volumes:
|
||||
- dbs_filecoin_sqlite3:/usr/src/app/db.sqlite3
|
||||
volumes:
|
||||
dbs_filecoin_sqlite3:
|
||||
|
|
@ -0,0 +1,19 @@
|
|||
version: '3'
|
||||
services:
|
||||
dbs_filecoin:
|
||||
image: oceanprotocol/dbs_filecoin:${DBS_FILECOIN_VERSION:-latest}
|
||||
ports:
|
||||
- '27300:3000'
|
||||
networks:
|
||||
backend:
|
||||
ipv4_address: 172.15.0.27
|
||||
environment:
|
||||
ACCEPTED_PAYMENTS: "0x2473f4F7bf40ed9310838edFCA6262C17A59DF64"
|
||||
PRIVATE_KEY: "0x1263dc73bef43a9da06149c7e598f52025bf4027f1d6c13896b71e81bb9233fb"
|
||||
DBS_URL: "http://172.15.0.26:8000"
|
||||
RPC: "http://172.15.0.3:8545"
|
||||
volumes:
|
||||
- dbs_filecoin_sqlite3:/usr/src/app/db.sqlite3
|
||||
volumes:
|
||||
dbs_filecoin_sqlite3:
|
||||
|
|
@ -41,6 +41,10 @@ export POD_CONFIGURATION_VERSION=${POD_CONFIGURATION_VERSION:-oceanprotocol/pod-
|
|||
export POD_PUBLISHING_VERSION=${POD_PUBLISHING_VERSION:-oceanprotocol/pod-publishing:v4main}
|
||||
export WAIT_FOR_C2DIMAGES=${WAIT_FOR_C2DIMAGES:-false}
|
||||
|
||||
|
||||
export DBS_VERSION=${DBS_VERSION:-next}
|
||||
export DBS_ARWEAVE_VERSION=${DBS_ARWEAVE_VERSION:-next}
|
||||
export DBS_FILECOIN_VERSION=${DBS_FILECOIN_VERSION:-next}
|
||||
export PROJECT_NAME="ocean"
|
||||
export FORCEPULL="false"
|
||||
|
||||
|
@ -232,6 +236,20 @@ while :; do
|
|||
COMPOSE_FILES+=" -f ${COMPOSE_DIR}/c2d.yml"
|
||||
printf $COLOR_Y'Starting with C2D...\n\n'$COLOR_RESET
|
||||
;;
|
||||
--with-dbs)
|
||||
COMPOSE_FILES+=" -f ${COMPOSE_DIR}/dbs.yml"
|
||||
COMPOSE_FILES+=" -f ${COMPOSE_DIR}/dbs_filecoin.yml"
|
||||
COMPOSE_FILES+=" -f ${COMPOSE_DIR}/dbs_arweave.yml"
|
||||
printf $COLOR_Y'Starting with DBS...\n\n'$COLOR_RESET
|
||||
;;
|
||||
--no-dbs-filecoin)
|
||||
COMPOSE_FILES="${COMPOSE_FILES/ -f ${COMPOSE_DIR}\/dbs_filecoin.yml/}"
|
||||
printf $COLOR_Y'Starting without DBS Filecoin...\n\n'$COLOR_RESET
|
||||
;;
|
||||
--no-dbs-arweave)
|
||||
COMPOSE_FILES="${COMPOSE_FILES/ -f ${COMPOSE_DIR}\/dbs_arweave.yml/}"
|
||||
printf $COLOR_Y'Starting without DBS Arweave...\n\n'$COLOR_RESET
|
||||
;;
|
||||
--with-rbac)
|
||||
COMPOSE_FILES+=" -f ${COMPOSE_DIR}/rbac.yml"
|
||||
printf $COLOR_Y'Starting with RBAC Server...\n\n'$COLOR_RESET
|
||||
|
|
Loading…
Reference in New Issue