version: "3"

services:
  test:
    build:
      context: .
      args: [pgtag]
    volumes:
      - ../:/pgtap
      - postgres:/var/lib/postgresql/data

volumes:
  postgres:
    driver_opts:
      type: tmpfs
      device: tmpfs

