mirror of
https://github.com/oceanprotocol/barge.git
synced 2024-11-22 09:47:04 +01:00
add pdr-dfbuyer
This commit is contained in:
parent
bba9ef5ddd
commit
c47f1e56f3
19
compose-files/pdr-dfbuyer.yml
Normal file
19
compose-files/pdr-dfbuyer.yml
Normal file
@ -0,0 +1,19 @@
|
||||
version: '3'
|
||||
services:
|
||||
pdr-predictoor:
|
||||
image: oceanprotocol/pdr-dfbuyer:${PDR_DFBUYER_VERSION:-latest}
|
||||
networks:
|
||||
backend:
|
||||
ipv4_address: 172.15.0.41
|
||||
environment:
|
||||
RPC_URL: ${NETWORK_RPC_URL}
|
||||
SUBGRAPH_URL: http://172.15.0.15:8000/subgraphs/name/oceanprotocol/ocean-subgraph
|
||||
PRIVATE_KEY: "0x1f990f8b013fc5c7955e0f8746f11ded231721b9cf3f99ff06cdc03492b28090"
|
||||
ADDRESS_FILE: /ocean-contracts/artifacts/address.json
|
||||
WAIT_FOR_SUBGRAPH: "true"
|
||||
WEEKLY_SPEND_LIMIT: 10000
|
||||
depends_on:
|
||||
- ganache
|
||||
volumes:
|
||||
- ${OCEAN_ARTIFACTS_FOLDER}:/ocean-contracts/artifacts/
|
||||
- ${OCEAN_SUBGRAPH_FOLDER}:/ocean-subgraph/
|
@ -47,6 +47,7 @@ export PDR_TRUEVAL_VERSION=${PDR_TRUEVAL_VERSION:-latest}
|
||||
export PDR_PREDICTOOR_VERSION=${PDR_PREDICTOOR_VERSION:-latest}
|
||||
export PDR_TRADER_VERSION=${PDR_TRADER_VERSION:-latest}
|
||||
export PDR_PUBLISHER_VERSION=${PDR_PUBLISHER_VERSION:-latest}
|
||||
export PDR_DFBUYER_VERSION=${PDR_DFBUYER_VERSION:-latest}
|
||||
|
||||
|
||||
export PROJECT_NAME="ocean"
|
||||
@ -289,9 +290,9 @@ while :; do
|
||||
#COMPOSE_FILES="${COMPOSE_FILES/ -f ${COMPOSE_DIR}\/redis.yml/}"
|
||||
#COMPOSE_FILES="${COMPOSE_FILES/ -f ${COMPOSE_DIR}\/aquarius.yml/}"
|
||||
#COMPOSE_FILES="${COMPOSE_FILES/ -f ${COMPOSE_DIR}\/elasticsearch.yml/}"
|
||||
COMPOSE_FILES="${COMPOSE_FILES/ -f ${COMPOSE_DIR}\/dashboard.yml/}"
|
||||
#COMPOSE_FILES="${COMPOSE_FILES/ -f ${COMPOSE_DIR}\/dashboard.yml/}"
|
||||
# Enforce images
|
||||
export CONTRACTS_VERSION=predictoor
|
||||
export CONTRACTS_VERSION=predictoor2
|
||||
export SUBGRAPH_VERSION=predictoor
|
||||
# replicate true blockchain behiavour
|
||||
export GANACHE_INSTAMINE=strict
|
||||
@ -313,6 +314,10 @@ while :; do
|
||||
COMPOSE_FILES+=" -f ${COMPOSE_DIR}/pdr-publisher.yml"
|
||||
printf $COLOR_Y'Starting with pdr-publisher...\n\n'$COLOR_RESET
|
||||
;;
|
||||
--with-pdr-dfbuyer)
|
||||
COMPOSE_FILES+=" -f ${COMPOSE_DIR}/pdr-dfbuyer.yml"
|
||||
printf $COLOR_Y'Starting with pdr-dfbuyer...\n\n'$COLOR_RESET
|
||||
;;
|
||||
#################################################
|
||||
# Cleaning switches
|
||||
#################################################
|
||||
|
Loading…
Reference in New Issue
Block a user