180802feb8
* Restore tested gateway into topology * Bump agent version * Update .sqlx files * Clean up code in probe test * Probe error & logging improvements * Fix clippy, improve log line * Improve logging in ns agent * Better tooling in NS API * Bump agent * Bump NS agent version
22 lines
646 B
YAML
22 lines
646 B
YAML
services:
|
|
postgres-test:
|
|
image: postgres:17-alpine
|
|
container_name: nym_node_status_api_postgres_test
|
|
environment:
|
|
POSTGRES_DB: nym_node_status_api_test
|
|
POSTGRES_USER: testuser
|
|
POSTGRES_PASSWORD: testpass
|
|
ports:
|
|
- '5433:5432' # Map to 5433 to avoid conflicts with default PostgreSQL
|
|
healthcheck:
|
|
test: ['CMD-SHELL', 'pg_isready -U testuser -d nym_node_status_api_test']
|
|
interval: 5s
|
|
timeout: 5s
|
|
retries: 5
|
|
# Optional: Add volume for persistent data during development
|
|
# volumes:
|
|
# - postgres_test_data:/var/lib/postgresql/data
|
|
|
|
# volumes:
|
|
# postgres_test_data:
|