1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
# Local PostgreSQL for RDP integration testing (development / CI opt-in only).
#
# Image: postgres:16-alpine — not for production.
#
# Usage:
# cd integration_testing/PostgreSQL
# cp .env.example .env # optional — defaults match ConnectorX fixture URLs
# docker compose up -d
# docker compose ps
# docker compose logs -f postgres
services:
postgres:
image: postgres:16-alpine
container_name: rdp-postgres-test
restart: "no"
ports:
- "${POSTGRES_PORT:-5432}:5432"
environment:
POSTGRES_USER: ${POSTGRES_APP_USER:-etl_user}
POSTGRES_PASSWORD: ${POSTGRES_APP_PASSWORD:-rdp_test_etl}
POSTGRES_DB: ${POSTGRES_DB:-rdp_test}
volumes:
- postgres-data:/var/lib/postgresql/data
healthcheck:
test:
interval: 5s
timeout: 5s
retries: 24
start_period: 15s
volumes:
postgres-data: