2022-08-14 04:30:12 +00:00
|
|
|
version: "3.2"
|
2022-11-01 17:44:33 +00:00
|
|
|
|
2022-08-14 04:30:12 +00:00
|
|
|
services:
|
2022-11-01 17:44:33 +00:00
|
|
|
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
|
|
|
|
|
2022-08-14 04:30:12 +00:00
|
|
|
ipld-eth-db:
|
2022-11-07 15:35:41 +00:00
|
|
|
image: timescale/timescaledb:2.8.1-pg14
|
2022-08-14 04:30:12 +00:00
|
|
|
restart: always
|
|
|
|
environment:
|
|
|
|
POSTGRES_USER: "vdbm"
|
2022-08-23 22:02:38 +00:00
|
|
|
POSTGRES_DB: "cerc_testing"
|
2022-08-14 04:30:12 +00:00
|
|
|
POSTGRES_PASSWORD: "password"
|
|
|
|
healthcheck:
|
|
|
|
test: ["CMD", "nc", "-v", "localhost", "5432"]
|
2022-11-01 17:44:33 +00:00
|
|
|
interval: 30s
|
|
|
|
timeout: 10s
|
|
|
|
retries: 10
|
|
|
|
start_period: 3s
|
2022-08-14 04:30:12 +00:00
|
|
|
ports:
|
|
|
|
- "127.0.0.1:8077:5432"
|