version: "3.2"
services:
  ipld-eth-beacon-db:
    restart: always
    image: cerc/ipld-eth-beacon-db:local
    environment:
      POSTGRES_USER: vdbm
      POSTGRES_DB: cerc_testing
      POSTGRES_PASSWORD: password
    healthcheck:
      test: ["CMD", "nc", "-v", "localhost", "5432"]
      interval: 30s
      timeout: 10s
      retries: 10
      start_period: 3s
    ports:
      - "127.0.0.1:8076:5432"