ci-pg-restore
Version:
A cached perf optimized restoration of a PostgreSQL database dump
17 lines (16 loc) • 406 B
YAML
services:
postgres:
image: postgres:13-alpine
command: "-c wal_level=logical -c max_prepared_transactions=10"
healthcheck:
test: "pg_isready -p 5432 -U postgres"
start_period: 20s
interval: 1s
timeout: 10s
retries: 40
ports:
- "55432:5432"
environment:
- POSTGRES_DB=postgres
- POSTGRES_USER=postgres
- POSTGRES_PASSWORD=postgres