ipld-eth-state-snapshot/test/compose.yml
Roy Crihfield 4868f26c5c
All checks were successful
Test / Run compliance tests (disabled) (pull_request) Has been skipped
Test / Run integration tests (pull_request) Successful in 3m0s
Test / Build Docker image (pull_request) Successful in 3m23s
Test / Run unit tests (pull_request) Successful in 5m25s
update ipld-eth-db
2024-07-11 21:45:07 +08:00

31 lines
769 B
YAML

services:
migrations:
restart: on-failure
depends_on:
- ipld-eth-db
image: git.vdb.to/cerc-io/ipld-eth-db/ipld-eth-db:v5.3.0-alpha
environment:
DATABASE_USER: "vdbm"
DATABASE_NAME: "cerc_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: "cerc_testing"
POSTGRES_PASSWORD: "password"
ports:
- 0.0.0.0:8077:5432
volumes:
- /tmp:/tmp
healthcheck:
test: ["CMD", "pg_isready", "-U", "vdbm"]
interval: 2s
timeout: 1s
retries: 3