test: add justfile commands for running integration tests with podman
Build / build (push) Successful in 43s

This commit is contained in:
2026-05-23 20:02:25 +02:00
parent 87a1a2d89a
commit 08f539abd9
2 changed files with 40 additions and 0 deletions
+21
View File
@@ -0,0 +1,21 @@
version: '3.8'
services:
test-db:
image: postgres:15-alpine
environment:
POSTGRES_USER: testuser
POSTGRES_PASSWORD: testpass
POSTGRES_DB: music_server_test
ports:
- "5433:5432"
healthcheck:
test: ["CMD-SHELL", "pg_isready -U testuser -d music_server_test"]
interval: 5s
timeout: 5s
retries: 5
volumes:
- test-db-data:/var/lib/postgresql/data
volumes:
test-db-data: