2021-09-30 12:39:48 +00:00
|
|
|
version: '3.2'
|
|
|
|
|
|
|
|
services:
|
2022-06-07 09:16:47 +00:00
|
|
|
migrations:
|
|
|
|
restart: on-failure
|
|
|
|
depends_on:
|
|
|
|
- ipld-eth-db
|
|
|
|
# Use an existing image
|
2022-09-19 16:25:19 +00:00
|
|
|
image: cerc-io/ipld-eth-db:v4.2.1-alpha-unstable
|
2022-06-07 09:16:47 +00:00
|
|
|
environment:
|
|
|
|
DATABASE_USER: "vdbm"
|
|
|
|
DATABASE_NAME: "vulcanize_testing"
|
|
|
|
DATABASE_PASSWORD: "password"
|
|
|
|
DATABASE_HOSTNAME: "ipld-eth-db"
|
|
|
|
DATABASE_PORT: 5432
|
|
|
|
|
2021-09-30 12:39:48 +00:00
|
|
|
ipld-eth-db:
|
2022-06-07 09:16:47 +00:00
|
|
|
image: timescale/timescaledb:latest-pg14
|
2021-09-30 12:39:48 +00:00
|
|
|
restart: always
|
2022-06-07 09:16:47 +00:00
|
|
|
command: ["postgres", "-c", "log_statement=all"]
|
2021-09-30 12:39:48 +00:00
|
|
|
environment:
|
|
|
|
POSTGRES_USER: "vdbm"
|
2021-10-13 07:37:25 +00:00
|
|
|
POSTGRES_DB: "vulcanize_testing"
|
2021-09-30 12:39:48 +00:00
|
|
|
POSTGRES_PASSWORD: "password"
|
|
|
|
ports:
|
2022-06-07 09:16:47 +00:00
|
|
|
- "127.0.0.1:8077:5432"
|