2022-08-15 03:38:16 +00:00
|
|
|
# TODO: figure out if this is needed -- it doesn't seem to make sense in the context of the
|
|
|
|
# current version of vulcanize/ipld-eth-db/Dockerfile, which is only the migrations code, not the DB itself
|
|
|
|
# The sibling component docker-compose-db-sharding.yml looks more plausible
|
2022-08-14 04:30:12 +00:00
|
|
|
version: "3.2"
|
|
|
|
services:
|
|
|
|
ipld-eth-db:
|
|
|
|
restart: always
|
|
|
|
image: vulcanize/ipld-eth-db:local
|
|
|
|
environment:
|
|
|
|
POSTGRES_USER: "vdbm"
|
|
|
|
POSTGRES_DB: "vulcanize_testing"
|
|
|
|
POSTGRES_PASSWORD: "password"
|
|
|
|
healthcheck:
|
|
|
|
test: ["CMD", "nc", "-v", "localhost", "5432"]
|
|
|
|
interval: 5s
|
|
|
|
timeout: 3s
|
|
|
|
retries: 5
|
|
|
|
ports:
|
|
|
|
- "127.0.0.1:8077:5432"
|
|
|
|
command: ["postgres", "-c", "log_statement=all"]
|