version: "3.8"
services:
  postgres_test:
    image: postgres:17
    environment:
      POSTGRES_DB: reflector_test
      POSTGRES_USER: test_user
      POSTGRES_PASSWORD: test_password
    ports:
      - "15432:5432"
    command: postgres -c fsync=off -c synchronous_commit=off -c full_page_writes=off
    tmpfs:
      - /var/lib/postgresql/data:rw,noexec,nosuid,size=1g
