2022-01-20 13:22:01 +00:00
|
|
|
version: '3.2'
|
|
|
|
|
|
|
|
services:
|
|
|
|
contract:
|
|
|
|
depends_on:
|
|
|
|
- dapptools
|
|
|
|
build:
|
|
|
|
context: ./test/contract
|
|
|
|
args:
|
|
|
|
ETH_ADDR: "http://dapptools:8545"
|
|
|
|
environment:
|
|
|
|
ETH_ADDR: "http://dapptools:8545"
|
|
|
|
ports:
|
|
|
|
- "127.0.0.1:3000:3000"
|
|
|
|
|
|
|
|
dapptools:
|
|
|
|
restart: unless-stopped
|
|
|
|
depends_on:
|
|
|
|
- ipld-eth-db
|
2022-05-06 11:21:11 +00:00
|
|
|
image: vulcanize/dapptools:v0.30.0-v1.10.16-statediff-3.0.2a
|
2022-01-20 13:22:01 +00:00
|
|
|
environment:
|
|
|
|
DB_USER: vdbm
|
|
|
|
DB_NAME: vulcanize_testing
|
|
|
|
DB_HOST: ipld-eth-db
|
|
|
|
DB_PORT: 5432
|
|
|
|
DB_PASSWORD: password
|
|
|
|
DB_WRITE: $DB_WRITE
|
2022-05-06 11:21:11 +00:00
|
|
|
DB_TYPE: postgres
|
|
|
|
DB_DRIVER: sqlx
|
2022-01-20 13:22:01 +00:00
|
|
|
ports:
|
|
|
|
- "127.0.0.1:8545:8545"
|
|
|
|
- "127.0.0.1:8546:8546"
|
|
|
|
|
|
|
|
ipld-eth-db:
|
|
|
|
restart: always
|
2022-05-06 11:21:11 +00:00
|
|
|
image: vulcanize/ipld-eth-db:v3.0.7
|
2022-01-20 13:22:01 +00:00
|
|
|
environment:
|
|
|
|
POSTGRES_USER: "vdbm"
|
|
|
|
POSTGRES_DB: "vulcanize_testing"
|
|
|
|
POSTGRES_PASSWORD: "password"
|
|
|
|
volumes:
|
|
|
|
- vdb_db_eth_validator:/var/lib/postgresql/data
|
|
|
|
ports:
|
|
|
|
- "127.0.0.1:8077:5432"
|
|
|
|
command: ["postgres", "-c", "log_statement=all"]
|
|
|
|
|
|
|
|
volumes:
|
|
|
|
vdb_db_eth_validator:
|