2024-07-10 01:28:09 +00:00
|
|
|
services:
|
|
|
|
migrations:
|
|
|
|
restart: on-failure
|
|
|
|
depends_on:
|
|
|
|
ipld-eth-db:
|
|
|
|
condition: service_healthy
|
|
|
|
image: cerc/ipld-eth-db:local
|
|
|
|
environment:
|
|
|
|
DATABASE_USER: "vdbm"
|
|
|
|
DATABASE_NAME: "cerc_testing"
|
|
|
|
DATABASE_PASSWORD: "password"
|
|
|
|
DATABASE_HOSTNAME: "ipld-eth-db"
|
|
|
|
DATABASE_PORT: 5432
|
|
|
|
|
|
|
|
ipld-eth-db:
|
2024-08-05 19:15:58 +00:00
|
|
|
image: timescale/timescaledb:latest-pg14
|
2024-07-10 01:28:09 +00:00
|
|
|
restart: always
|
|
|
|
environment:
|
|
|
|
POSTGRES_USER: "vdbm"
|
|
|
|
POSTGRES_DB: "cerc_testing"
|
|
|
|
POSTGRES_PASSWORD: "password"
|
|
|
|
ports:
|
|
|
|
- "127.0.0.1:8077:5432"
|
2024-08-05 19:15:58 +00:00
|
|
|
healthcheck:
|
|
|
|
test: ["CMD", "pg_isready", "-U", "vdbm"]
|
|
|
|
interval: 2s
|
|
|
|
timeout: 1s
|
|
|
|
retries: 3
|