1
0
mirror of https://github.com/oceanprotocol/barge.git synced 2024-11-22 09:47:04 +01:00

add three predictoors

This commit is contained in:
alexcos20 2023-07-26 17:54:58 +03:00
parent 68f305c1f4
commit 88f7813282
4 changed files with 42 additions and 4 deletions

View File

@ -16,7 +16,9 @@ docker container stop ocean_redis_1
docker container stop ocean_dashboard_1 docker container stop ocean_dashboard_1
docker container stop docker-registry 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-predictoor1_1
docker container stop ocean_pdr-predictoor2_1
docker container stop ocean_pdr-predictoor3_1
docker container stop ocean_pdr-trueval_1 docker container stop ocean_pdr-trueval_1
docker container stop ocean_pdr-publisher_1 docker container stop ocean_pdr-publisher_1
docker container stop ocean_pdr-dfbuyer_1 docker container stop ocean_pdr-dfbuyer_1
@ -37,7 +39,9 @@ docker container rm ocean_redis_1
docker container rm ocean_dashboard_1 docker container rm ocean_dashboard_1
docker container rm docker-registry 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-predictoor1_1
docker container rm ocean_pdr-predictoor2_1
docker container rm ocean_pdr-predictoor3_1
docker container rm ocean_pdr-trueval_1 docker container rm ocean_pdr-trueval_1
docker container rm ocean_pdr-publisher_1 docker container rm ocean_pdr-publisher_1
docker container rm ocean_pdr-dfbuyer_1 docker container rm ocean_pdr-dfbuyer_1

View File

@ -7,4 +7,4 @@ services:
networks: networks:
backend: backend:
ipv4_address: 172.15.0.3 ipv4_address: 172.15.0.3
entrypoint: ["node","/app/dist/node/cli.js","--database.dbPath", "./ganache_cache","--chain.chainId","0x2324","--chain.networkId","0x2324","-l","50000000","-g","1","--chain.hardfork","${GANACHE_FORK}","--miner.blockTime","${GANACHE_BLOCKTIME}","--miner.instamine","${GANACHE_INSTAMINE}","--wallet.mnemonic","${GANACHE_MNEMONIC}", "-e","1000000"] entrypoint: ["node","/app/dist/node/cli.js","--database.dbPath", "./ganache_cache","--chain.chainId","0x2324","--chain.networkId","0x2324","-a","20","-l","50000000","-g","1","--chain.hardfork","${GANACHE_FORK}","--miner.blockTime","${GANACHE_BLOCKTIME}","--miner.instamine","${GANACHE_INSTAMINE}","--wallet.mnemonic","${GANACHE_MNEMONIC}", "-e","1000000"]

View File

@ -1,6 +1,6 @@
version: '3' version: '3'
services: services:
pdr-predictoor: pdr-predictoor1:
image: oceanprotocol/pdr-predictoor:${PDR_PREDICTOOR_VERSION:-latest} image: oceanprotocol/pdr-predictoor:${PDR_PREDICTOOR_VERSION:-latest}
networks: networks:
backend: backend:
@ -16,3 +16,35 @@ services:
volumes: volumes:
- ${OCEAN_ARTIFACTS_FOLDER}:/ocean-contracts/artifacts/ - ${OCEAN_ARTIFACTS_FOLDER}:/ocean-contracts/artifacts/
- ${OCEAN_SUBGRAPH_FOLDER}:/ocean-subgraph/ - ${OCEAN_SUBGRAPH_FOLDER}:/ocean-subgraph/
pdr-predictoor2:
image: oceanprotocol/pdr-predictoor:${PDR_PREDICTOOR_VERSION:-latest}
networks:
backend:
ipv4_address: 172.15.0.45
environment:
RPC_URL: ${NETWORK_RPC_URL}
SUBGRAPH_URL: http://172.15.0.15:8000/subgraphs/name/oceanprotocol/ocean-subgraph
PRIVATE_KEY: "0x4ed947ad7e139926e31a6442d55b2e99d141f97f46151a8769d57f514f3db868"
WAIT_FOR_SUBGRAPH: "true"
DELAYED_STARTUP: 120
depends_on:
- ganache
volumes:
- ${OCEAN_ARTIFACTS_FOLDER}:/ocean-contracts/artifacts/
- ${OCEAN_SUBGRAPH_FOLDER}:/ocean-subgraph/
pdr-predictoor3:
image: oceanprotocol/pdr-predictoor:${PDR_PREDICTOOR_VERSION:-latest}
networks:
backend:
ipv4_address: 172.15.0.46
environment:
RPC_URL: ${NETWORK_RPC_URL}
SUBGRAPH_URL: http://172.15.0.15:8000/subgraphs/name/oceanprotocol/ocean-subgraph
PRIVATE_KEY: "0xa50c16d96ed01ac8f967b77b01b1fa94f751c4c600b564fd770e239ebd7d869d"
WAIT_FOR_SUBGRAPH: "true"
DELAYED_STARTUP: 120
depends_on:
- ganache
volumes:
- ${OCEAN_ARTIFACTS_FOLDER}:/ocean-contracts/artifacts/
- ${OCEAN_SUBGRAPH_FOLDER}:/ocean-subgraph/

View File

@ -10,6 +10,8 @@ services:
ADDRESS_FILE: /root/.ocean/ocean-contracts/artifacts/address.json ADDRESS_FILE: /root/.ocean/ocean-contracts/artifacts/address.json
OPF_DEPLOYER_PRIVATE_KEY: "0xc594c6e5def4bab63ac29eed19a134c130388f74f019bc74b8f4389df2837a58" OPF_DEPLOYER_PRIVATE_KEY: "0xc594c6e5def4bab63ac29eed19a134c130388f74f019bc74b8f4389df2837a58"
PREDICTOOR_PRIVATE_KEY: "0xef4b441145c1d0f3b4bc6d61d29f5c6e502359481152f869247c7a4244d45209" PREDICTOOR_PRIVATE_KEY: "0xef4b441145c1d0f3b4bc6d61d29f5c6e502359481152f869247c7a4244d45209"
PREDICTOOR2_PRIVATE_KEY: "0x4ed947ad7e139926e31a6442d55b2e99d141f97f46151a8769d57f514f3db868"
PREDICTOOR3_PRIVATE_KEY: "0xa50c16d96ed01ac8f967b77b01b1fa94f751c4c600b564fd770e239ebd7d869d"
TRADER_PRIVATE_KEY: "0x8467415bb2ba7c91084d932276214b11a3dd9bdb2930fefa194b666dd8020b99" TRADER_PRIVATE_KEY: "0x8467415bb2ba7c91084d932276214b11a3dd9bdb2930fefa194b666dd8020b99"
DFBUYER_PRIVATE_KEY: "0x1f990f8b013fc5c7955e0f8746f11ded231721b9cf3f99ff06cdc03492b28090" DFBUYER_PRIVATE_KEY: "0x1f990f8b013fc5c7955e0f8746f11ded231721b9cf3f99ff06cdc03492b28090"
PDR_WEBSOCKET_KEY: "0xfd5c1ccea015b6d663618850824154a3b3fb2882c46cefb05b9a93fea8c3d215" PDR_WEBSOCKET_KEY: "0xfd5c1ccea015b6d663618850824154a3b3fb2882c46cefb05b9a93fea8c3d215"