1
0
stack-orchestrator/compose/docker-compose-db.yml

20 lines
697 B
YAML
Raw Normal View History

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
2022-08-23 22:02:38 +00:00
# current version of cerc/ipld-eth-db/Dockerfile, which is only the migrations code, not the DB itself
2022-08-15 03:38:16 +00:00
# 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
2022-08-23 22:02:38 +00:00
image: cerc/ipld-eth-db:local
2022-08-14 04:30:12 +00:00
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"]
interval: 5s
timeout: 3s
retries: 5
ports:
- "127.0.0.1:8077:5432"
command: ["postgres", "-c", "log_statement=all"]