Initial commit: add .gitignore and README
This commit is contained in:
24
docker-compose.test.yml
Normal file
24
docker-compose.test.yml
Normal file
@@ -0,0 +1,24 @@
|
||||
version: '3.8'
|
||||
|
||||
services:
|
||||
postgres-test:
|
||||
image: postgres:15-alpine
|
||||
container_name: dbis_core_test_db
|
||||
environment:
|
||||
POSTGRES_USER: postgres
|
||||
POSTGRES_PASSWORD: postgres
|
||||
POSTGRES_DB: postgres
|
||||
ports:
|
||||
- "5434:5432" # Use different port to avoid conflicts
|
||||
volumes:
|
||||
- postgres-test-data:/var/lib/postgresql/data
|
||||
healthcheck:
|
||||
test: ["CMD-SHELL", "pg_isready -U postgres"]
|
||||
interval: 5s
|
||||
timeout: 5s
|
||||
retries: 5
|
||||
command: postgres -c log_statement=all
|
||||
|
||||
volumes:
|
||||
postgres-test-data:
|
||||
|
||||
Reference in New Issue
Block a user