test: add justfile commands for running integration tests with podman
Build / build (push) Successful in 43s
Build / build (push) Successful in 43s
This commit is contained in:
@@ -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:
|
||||
Reference in New Issue
Block a user