db:
  image: kiasaki/alpine-postgres
  environment:
    - "POSTGRES_DB=source"
    - "POSTGRES_USER=palantir"
    - "POSTGRES_PASSWORD=palantir"
  ports:
    - "5432"

db2:
  image: kiasaki/alpine-postgres
  environment:
    - "POSTGRES_DB=source"
    - "POSTGRES_USER=palantir"
    - "POSTGRES_PASSWORD=palantir"
  ports:
    - "5432"

db3:
  image: kiasaki/alpine-postgres
  environment:
    - "POSTGRES_DB=source"
    - "POSTGRES_USER=palantir"
    - "POSTGRES_PASSWORD=palantir"
  ports:
    - "5432"

db4:
  image: kiasaki/alpine-postgres
  environment:
    - "POSTGRES_DB=source"
    - "POSTGRES_USER=palantir"
    - "POSTGRES_PASSWORD=palantir"
  ports:
    - "5432"

db:
  image: appropriate/nc
  command: /bin/sh -c 'echo server started && nc -lk 5432'
  ports:
    - "5432"

db2:
  image: appropriate/nc
  command: /bin/sh -c 'echo server started && nc -lk 5432'
  ports:
    - "5432"

db3:
  image: appropriate/nc
  command: /bin/sh -c 'echo server started && nc -lk 5432'
  ports:
    - "5432"

db4:
  image: appropriate/nc
  command: /bin/sh -c 'echo server started && nc -lk 5432'
  ports:
    - "5432"

Use netcat not postgres in integration tests
Use netcat not postgres in integration tests
