mirror of
https://github.com/oceanprotocol/barge.git
synced 2024-11-22 09:47:04 +01:00
add pdr-publisher
This commit is contained in:
parent
4815fd8772
commit
d2341292dc
@ -18,6 +18,7 @@ docker container stop docker-registry
|
|||||||
docker container stop ocean_pdr-trader_1
|
docker container stop ocean_pdr-trader_1
|
||||||
docker container stop ocean_pdr-predictoor_1
|
docker container stop ocean_pdr-predictoor_1
|
||||||
docker container stop ocean_pdr-trueval_1
|
docker container stop ocean_pdr-trueval_1
|
||||||
|
docker container stop ocean_pdr-publisher_1
|
||||||
docker container rm ocean_aquarius_1
|
docker container rm ocean_aquarius_1
|
||||||
docker container rm ocean_graph-node_1
|
docker container rm ocean_graph-node_1
|
||||||
docker container rm ocean_subgraph_1
|
docker container rm ocean_subgraph_1
|
||||||
@ -37,6 +38,7 @@ docker container rm docker-registry
|
|||||||
docker container rm ocean_pdr-trader_1
|
docker container rm ocean_pdr-trader_1
|
||||||
docker container rm ocean_pdr-predictoor_1
|
docker container rm ocean_pdr-predictoor_1
|
||||||
docker container rm ocean_pdr-trueval_1
|
docker container rm ocean_pdr-trueval_1
|
||||||
|
docker container rm ocean_pdr-publisher_1
|
||||||
docker volume rm ocean_graphipfs
|
docker volume rm ocean_graphipfs
|
||||||
docker volume rm ocean_graphpgsql
|
docker volume rm ocean_graphpgsql
|
||||||
docker volume rm ocean_provider1db
|
docker volume rm ocean_provider1db
|
||||||
|
17
compose-files/pdr-publisher.yml
Normal file
17
compose-files/pdr-publisher.yml
Normal file
@ -0,0 +1,17 @@
|
|||||||
|
version: '3'
|
||||||
|
services:
|
||||||
|
pdr-publisher:
|
||||||
|
image: oceanprotocol/pdr-publisher:${PDR_PUBLISHER_VERSION:-latest}
|
||||||
|
networks:
|
||||||
|
backend:
|
||||||
|
ipv4_address: 172.15.0.43
|
||||||
|
depends_on:
|
||||||
|
- ocean-contracts
|
||||||
|
environment:
|
||||||
|
RPC_URL: ${NETWORK_RPC_URL}
|
||||||
|
ADDRESS_FILE: /root/.ocean/ocean-contracts/artifacts/address.json
|
||||||
|
WAIT_FOR_CONTRACTS: "true"
|
||||||
|
depends_on:
|
||||||
|
- ganache
|
||||||
|
volumes:
|
||||||
|
- ${OCEAN_ARTIFACTS_FOLDER}:/root/.ocean/ocean-contracts/artifacts
|
@ -46,6 +46,7 @@ export WAIT_FOR_C2DIMAGES=${WAIT_FOR_C2DIMAGES:-false}
|
|||||||
export PDR_TRUEVAL_VERSION=${PDR_TRUEVAL_VERSION:-latest}
|
export PDR_TRUEVAL_VERSION=${PDR_TRUEVAL_VERSION:-latest}
|
||||||
export PDR_PREDICTOOR_VERSION=${PDR_PREDICTOOR_VERSION:-latest}
|
export PDR_PREDICTOOR_VERSION=${PDR_PREDICTOOR_VERSION:-latest}
|
||||||
export PDR_TRADER_VERSION=${PDR_TRADER_VERSION:-latest}
|
export PDR_TRADER_VERSION=${PDR_TRADER_VERSION:-latest}
|
||||||
|
export PDR_PUBLISHER_VERSION=${PDR_PUBLISHER_VERSION:-latest}
|
||||||
|
|
||||||
|
|
||||||
export PROJECT_NAME="ocean"
|
export PROJECT_NAME="ocean"
|
||||||
@ -308,6 +309,10 @@ while :; do
|
|||||||
COMPOSE_FILES+=" -f ${COMPOSE_DIR}/pdr-predictoor.yml"
|
COMPOSE_FILES+=" -f ${COMPOSE_DIR}/pdr-predictoor.yml"
|
||||||
printf $COLOR_Y'Starting with pdr-predictoor...\n\n'$COLOR_RESET
|
printf $COLOR_Y'Starting with pdr-predictoor...\n\n'$COLOR_RESET
|
||||||
;;
|
;;
|
||||||
|
--with-pdr-publisher)
|
||||||
|
COMPOSE_FILES+=" -f ${COMPOSE_DIR}/pdr-publisher.yml"
|
||||||
|
printf $COLOR_Y'Starting with pdr-publisher...\n\n'$COLOR_RESET
|
||||||
|
;;
|
||||||
#################################################
|
#################################################
|
||||||
# Cleaning switches
|
# Cleaning switches
|
||||||
#################################################
|
#################################################
|
||||||
|
Loading…
Reference in New Issue
Block a user