b241bf05eb
* Add command to take an in-place snapshot * Add test data for in place snapshot unit test * Implement unit test for inplace snapshot * Add check for storage IPLD * Run unit tests sequentially * Add github workflow for unit test * Add missing checks for state and storage cid fields * Add more storage nodes to test * Update ipld-eth-db version for tests * Add comments for inplace snapshot test data * Add in-place snapshot cmd in readme * Implement defer pattern for db transaction * Log transaction commit or rollback error Co-authored-by: nabarun <nabarun@deepstacksoft.com>
28 lines
659 B
YAML
28 lines
659 B
YAML
version: '3.2'
|
|
|
|
services:
|
|
migrations:
|
|
restart: on-failure
|
|
depends_on:
|
|
- ipld-eth-db
|
|
image: vulcanize/ipld-eth-db:v4.1.3-alpha
|
|
environment:
|
|
DATABASE_USER: "vdbm"
|
|
DATABASE_NAME: "vulcanize_testing"
|
|
DATABASE_PASSWORD: "password"
|
|
DATABASE_HOSTNAME: "ipld-eth-db"
|
|
DATABASE_PORT: 5432
|
|
|
|
ipld-eth-db:
|
|
image: timescale/timescaledb:latest-pg14
|
|
restart: always
|
|
command: ["postgres", "-c", "log_statement=all"]
|
|
environment:
|
|
POSTGRES_USER: "vdbm"
|
|
POSTGRES_DB: "vulcanize_testing"
|
|
POSTGRES_PASSWORD: "password"
|
|
ports:
|
|
- "127.0.0.1:8077:5432"
|
|
volumes:
|
|
- /tmp:/tmp
|