ipld-eth-db/docker-compose.test.yml
Roy Crihfield 0595f3dc15 Renames and clean up (#129)
* Cerc refactor contd.

* consistent local docker tag
2023-03-21 12:38:43 -05:00

28 lines
651 B
YAML

version: '3.2'
services:
migrations:
restart: on-failure
depends_on:
- ipld-eth-db
image: cerc/ipld-eth-db
# Build image using local context
build: .
environment:
DATABASE_USER: "vdbm"
DATABASE_NAME: "cerc_testing"
DATABASE_PASSWORD: "password"
DATABASE_HOSTNAME: "ipld-eth-db"
DATABASE_PORT: 5432
ipld-eth-db:
image: timescale/timescaledb:latest-pg14
restart: always
command: ["postgres", "-c", "log_statement=all"]
environment:
POSTGRES_USER: "vdbm"
POSTGRES_DB: "cerc_testing"
POSTGRES_PASSWORD: "password"
ports:
- "127.0.0.1:8077:5432"