2022-01-20 13:22:01 +00:00
|
|
|
version: '3.2'
|
|
|
|
|
|
|
|
services:
|
2022-05-23 14:13:09 +00:00
|
|
|
migrations:
|
|
|
|
restart: on-failure
|
|
|
|
depends_on:
|
|
|
|
- ipld-eth-db
|
2022-07-13 07:42:59 +00:00
|
|
|
image: vulcanize/ipld-eth-db:v4.2.0-alpha
|
2022-05-23 14:13:09 +00:00
|
|
|
environment:
|
|
|
|
DATABASE_USER: "vdbm"
|
|
|
|
DATABASE_NAME: "vulcanize_testing"
|
|
|
|
DATABASE_PASSWORD: "password"
|
|
|
|
DATABASE_HOSTNAME: "ipld-eth-db"
|
|
|
|
DATABASE_PORT: 5432
|
|
|
|
|
2022-01-20 13:22:01 +00:00
|
|
|
ipld-eth-db:
|
2022-05-23 14:13:09 +00:00
|
|
|
image: timescale/timescaledb:latest-pg14
|
2022-01-20 13:22:01 +00:00
|
|
|
restart: always
|
2022-05-23 14:13:09 +00:00
|
|
|
command: ["postgres", "-c", "log_statement=all"]
|
2022-01-20 13:22:01 +00:00
|
|
|
environment:
|
|
|
|
POSTGRES_USER: "vdbm"
|
|
|
|
POSTGRES_DB: "vulcanize_testing"
|
|
|
|
POSTGRES_PASSWORD: "password"
|
|
|
|
ports:
|
|
|
|
- "127.0.0.1:8077:5432"
|
2022-05-23 14:13:09 +00:00
|
|
|
volumes:
|
|
|
|
- vdb_db_eth_validator:/var/lib/postgresql/data
|
2022-01-20 13:22:01 +00:00
|
|
|
|
|
|
|
volumes:
|
2022-05-23 14:13:09 +00:00
|
|
|
vdb_db_eth_validator:
|