Files
kooltab-backoffice/docker-compose.yml
T
brammie15 314717ba3a
CI / build-and-test (push) Canceled after 0s
feat: move to V2
2026-10-29 11:21:52 +01:00

23 lines
635 B
YAML

# The database for local development: `docker compose up -d`, then see docs/local-development.md.
services:
postgres:
image: postgres:17-alpine
environment:
POSTGRES_DB: kooltap
POSTGRES_USER: kooltap
POSTGRES_PASSWORD: kooltap
ports:
- "5432:5432"
volumes:
- pgdata:/var/lib/postgresql/data
# Creates kooltap_test for the end-to-end tests
- ./scripts/create-test-database.sql:/docker-entrypoint-initdb.d/create-test-database.sql:ro
healthcheck:
test: ["CMD-SHELL", "pg_isready -U kooltap"]
interval: 5s
timeout: 5s
retries: 5
volumes:
pgdata: