Custodial financial storage
This commit is contained in:
Executable
+28
@@ -0,0 +1,28 @@
|
||||
# Disposable isolated integration fixture ONLY. No persistent/host database ports or credentials.
|
||||
# Trust auth is confined to this temporary internal network and is never a deployment example.
|
||||
services:
|
||||
database:
|
||||
image: postgres:17-alpine
|
||||
environment:
|
||||
POSTGRES_DB: custody_test
|
||||
POSTGRES_HOST_AUTH_METHOD: trust
|
||||
tmpfs:
|
||||
- /var/lib/postgresql/data
|
||||
healthcheck:
|
||||
test: ["CMD-SHELL", "pg_isready -U postgres -d custody_test"]
|
||||
interval: 1s
|
||||
timeout: 3s
|
||||
retries: 30
|
||||
networks: [fixture]
|
||||
tests:
|
||||
image: wikideck-custody-test
|
||||
network_mode: service:database
|
||||
depends_on:
|
||||
database:
|
||||
condition: service_healthy
|
||||
environment:
|
||||
WIKIDECK_PG_DISPOSABLE_TEST: "1"
|
||||
command: ["npx", "tsx", "--test", "--test-concurrency=1", "tests/postgres/*.test.ts"]
|
||||
networks:
|
||||
fixture:
|
||||
internal: true
|
||||
Reference in New Issue
Block a user