ipld-eth-db/docker-compose.test.yml

29 lines
677 B
YAML
Raw Normal View History

version: '3.2'
services:
migrations:
restart: on-failure
depends_on:
- ipld-eth-db
# Build image using local context
build:
context: .
dockerfile: Dockerfile
environment:
DATABASE_USER: "vdbm"
DATABASE_NAME: "vulcanize_testing"
DATABASE_PASSWORD: "password"
DATABASE_HOSTNAME: "ipld-eth-db"
DATABASE_PORT: 5432
ipld-eth-db:
2022-04-29 03:03:16 +00:00
image: timescale/timescaledb:latest-pg14
2022-05-10 10:45:57 +00:00
restart: always
2022-04-29 03:03:16 +00:00
command: ["postgres", "-c", "log_statement=all"]
environment:
POSTGRES_USER: "vdbm"
POSTGRES_DB: "vulcanize_testing"
2022-04-29 03:03:16 +00:00
POSTGRES_PASSWORD: "password"
ports:
- "127.0.0.1:8077:5432"