pgweb/docker-compose-pg.yml
Dan Sosedoff 0dfec506cf
Improved Pg test matrix (#616)
* Add postgres 10/11 to test  matrix
* Add docker-compose file fo running multiple postgres versions locally
* Fix client test for pg 10, modify function details to include specific fields
* Try to install latest postgres client
* Add concurrency setting
2022-12-12 18:58:00 -06:00

49 lines
779 B
YAML

---
version: "3.9"
x-base: &base
environment: &env
POSTGRES_DB: pgweb
POSTGRES_PASSWORD: pgweb
POSTGRES_USER: pgweb
healthcheck:
test: pg_isready -U pgweb -h 127.0.0.1
interval: 5s
services:
postgres15:
<<: *base
image: postgres:15
ports:
- 5433:5432
postgres14:
<<: *base
image: postgres:14
ports:
- 5434:5432
postgres13:
<<: *base
image: postgres:13
ports:
- 5435:5432
postgres12:
<<: *base
image: postgres:12
ports:
- 5436:5432
postgres11:
<<: *base
image: postgres:11
ports:
- 5437:5432
postgres10:
<<: *base
image: postgres:10
ports:
- 5438:5432
postgres9.6:
<<: *base
image: postgres:9.6
ports:
- 5439:5432