1
0
mirror of https://github.com/oceanprotocol/barge.git synced 2024-11-25 03:20:17 +01:00
barge/compose-files/aquarius.yml
Alex Coseru 9e8625f258
Speed up Aquarius index time on barge (#351)
* add EVENTS_MONITOR_SLEEP_TIME

* add EVENTS_MONITOR_SLEEP_TIME

* Update start_ocean.sh
2023-01-30 12:44:19 +00:00

37 lines
1.2 KiB
YAML

version: '3'
services:
aquarius:
image: oceanprotocol/aquarius:${AQUARIUS_VERSION:-latest}
ports:
- 5000:5000
networks:
backend:
ipv4_address: 172.15.0.5
depends_on:
- elasticsearch
- ocean-contracts
environment:
DB_MODULE: ${DB_MODULE}
DB_HOSTNAME: ${DB_HOSTNAME}
DB_PORT: ${DB_PORT}
DB_USERNAME: ${DB_USERNAME}
DB_PASSWORD: ${DB_PASSWORD}
DB_SSL: ${DB_SSL}
DB_VERIFY_CERTS: ${DB_VERIFY_CERTS}
DB_CA_CERTS: ${DB_CA_CERTS}
DB_CLIENT_KEY: ${DB_CLIENT_KEY}
DB_CLIENT_CERT: ${DB_CLIENT_CERT}
LOG_LEVEL: ${AQUARIUS_LOG_LEVEL}
PRIVATE_KEY: "0x5d75837394b078ce97bc289fa8d75e21000573520bfa7784a9d28ccaae602bf8"
ARTIFACTS_PATH: "/ocean-contracts/artifacts"
ADDRESS_FILE: "/ocean-contracts/artifacts/address.json"
DEPLOY_CONTRACTS: ${DEPLOY_CONTRACTS}
NETWORK_NAME: ${CONTRACTS_NETWORK_NAME}
EVENTS_RPC: "http://172.15.0.3:8545"
EVENTS_ALLOW: "0"
RUN_EVENTS_MONITOR: "1"
AQUARIUS_URL: http://172.15.0.5:5000
EVENTS_MONITOR_SLEEP_TIME: ${EVENTS_MONITOR_SLEEP_TIME}
volumes:
- ${OCEAN_ARTIFACTS_FOLDER}:/ocean-contracts/artifacts/