feat(infra): containerize BFF + compose-up smoke (closes #29) (#36)

This commit was merged in pull request #36.
This commit is contained in:
2026-06-03 11:46:27 +00:00
parent 7d67ecbde1
commit dfd6224fea
4 changed files with 61 additions and 0 deletions

19
infra/docker-compose.yml Normal file
View File

@@ -0,0 +1,19 @@
# Local development stack. Grows service-by-service with each slice.
# S-00-b: the placeholder BFF with a /health check.
#
# docker compose -f infra/docker-compose.yml up -d --build --wait
# curl http://localhost:8080/health # -> Healthy
services:
bff:
build:
context: ../services/bff
dockerfile: Dockerfile
image: register-referentie/bff:dev
ports:
- "8080:8080"
healthcheck:
test: ["CMD", "curl", "-fsS", "http://localhost:8080/health"]
interval: 5s
timeout: 3s
retries: 5
start_period: 10s