2023-08-03 11:11:09 +02:00
|
|
|
version: "3"
|
2023-05-22 09:06:10 +02:00
|
|
|
services:
|
|
|
|
pdr-trader:
|
2023-08-03 11:11:09 +02:00
|
|
|
image: oceanprotocol/pdr-backend:${PDR_BACKEND_VERSION:-latest}
|
|
|
|
command: trader
|
2023-05-22 09:06:10 +02:00
|
|
|
networks:
|
|
|
|
backend:
|
|
|
|
ipv4_address: 172.15.0.42
|
|
|
|
environment:
|
|
|
|
RPC_URL: ${NETWORK_RPC_URL}
|
|
|
|
SUBGRAPH_URL: http://172.15.0.15:8000/subgraphs/name/oceanprotocol/ocean-subgraph
|
|
|
|
PRIVATE_KEY: "0x8467415bb2ba7c91084d932276214b11a3dd9bdb2930fefa194b666dd8020b99"
|
|
|
|
WAIT_FOR_SUBGRAPH: "true"
|
2023-07-26 14:46:26 +02:00
|
|
|
DELAYED_STARTUP: 120
|
2023-08-03 17:24:25 +02:00
|
|
|
ADDRESS_FILE: /ocean-contracts/artifacts/address.json
|
2023-05-22 09:06:10 +02:00
|
|
|
depends_on:
|
|
|
|
- ganache
|
|
|
|
volumes:
|
2023-08-03 11:11:09 +02:00
|
|
|
- ${OCEAN_ARTIFACTS_FOLDER}:/ocean-contracts/artifacts/
|
|
|
|
- ${OCEAN_SUBGRAPH_FOLDER}:/ocean-subgraph/
|