1
0
mirror of https://github.com/oceanprotocol/barge.git synced 2024-11-29 15:29:26 +01:00
barge/compose-files/provider2.yml
2023-03-29 23:48:20 +03:00

34 lines
1.1 KiB
YAML

version: '3'
services:
provider2:
image: oceanprotocol/provider-py:${PROVIDER_VERSION:-latest}
ports:
- 8031:8030
networks:
backend:
ipv4_address: 172.15.0.7
depends_on:
- ocean-contracts
- provider
environment:
ARTIFACTS_PATH: "/ocean-contracts/artifacts"
ADDRESS_FILE: "/ocean-contracts/artifacts/address.json"
DEPLOY_CONTRACTS: ${DEPLOY_CONTRACTS}
NETWORK_URL: ${NETWORK_RPC_URL}
PARITY_URL: ${NETWORK_RPC_URL}
PROVIDER_PRIVATE_KEY: ${PROVIDER2_PRIVATE_KEY}
LOG_LEVEL: ${PROVIDER_LOG_LEVEL}
OCEAN_PROVIDER_URL: 'http://0.0.0.0:8030'
OCEAN_PROVIDER_WORKERS: ${PROVIDER_WORKERS}
IPFS_GATEWAY: ${PROVIDER_IPFS_GATEWAY}
OCEAN_PROVIDER_TIMEOUT: '9000'
OPERATOR_SERVICE_URL: ${OPERATOR_SERVICE_URL}
AQUARIUS_URL: ${AQUARIUS_URL:-http://172.15.0.5:5000}
ARWEAVE_GATEWAY: https://arweave.net/
REQUEST_TIMEOUT: ${REQUEST_TIMEOUT:-10}
volumes:
- ${OCEAN_ARTIFACTS_FOLDER}:/ocean-contracts/artifacts/
- provider2db:/ocean-provider/db/
volumes:
provider2db: