1
0
mirror of https://github.com/oceanprotocol/barge.git synced 2024-11-29 07:16:19 +01:00
barge/compose-files/ocean_contracts.yml
2021-10-28 13:10:52 +03:00

26 lines
875 B
YAML

version: '3'
services:
ocean-contracts:
image: oceanprotocol/ocean-contracts:${CONTRACTS_VERSION:-latest}
networks:
backend:
ipv4_address: 172.15.0.14
environment:
MNEMONIC: ${GANACHE_MNEMONIC}
OWNER_ROLE_ADDRESS: ${CONTRACTS_OWNER_ROLE_ADDRESS}
DEPLOY_CONTRACTS: ${DEPLOY_CONTRACTS}
LOCAL_CONTRACTS: ${DEPLOY_CONTRACTS}
REUSE_DATABASE: ${GANACHE_REUSE_DATABASE}
DATABASE_PATH: "/ganache-db"
NETWORK_NAME: ${CONTRACTS_NETWORK_NAME}
NETWORK_RPC_HOST: ${NETWORK_RPC_HOST}
NETWORK_RPC_PORT: ${NETWORK_RPC_PORT}
NETWORK_RPC_URL: ${NETWORK_RPC_URL}
LOCAL_USER_ID: ${LOCAL_USER_ID}
LOCAL_GROUP_ID: ${LOCAL_GROUP_ID}
ADDRESS_FILE: /ocean-contracts/artifacts/address.json
depends_on:
- ganache
volumes:
- ${OCEAN_ARTIFACTS_FOLDER}:/ocean-contracts/artifacts/