mirror of
https://github.com/CompassConnections/Compass.git
synced 2026-02-19 15:27:16 -05:00
19 lines
435 B
YAML
19 lines
435 B
YAML
services:
|
|
postgres-test:
|
|
image: postgres:15-alpine
|
|
environment:
|
|
POSTGRES_DB: test_db
|
|
POSTGRES_USER: test_user
|
|
POSTGRES_PASSWORD: test_password
|
|
ports:
|
|
- "5433:5432"
|
|
volumes:
|
|
- postgres-test-data:/var/lib/postgresql/data
|
|
healthcheck:
|
|
test: [ "CMD-SHELL", "pg_isready -U test_user -d test_db" ]
|
|
interval: 5s
|
|
timeout: 5s
|
|
retries: 5
|
|
|
|
volumes:
|
|
postgres-test-data: |