Local orchestration for Brazil public data services.
This repository does not own business code. It composes independent projects such as auth-api, bdi-api, and future public-data APIs so their integration can be exercised as one ecosystem.
Phase 9 focuses on local integration testing for:
auth-apibdi-apiauth-mongobdi-mongo
The first smoke flow validates login, user creation, JWT audience/issuer configuration, refresh, and protected BDI access.
The default stack uses published Docker images from GitHub Container Registry.
For local source builds, this repository expects sibling project folders:
applications/
auth-api/
bdi-api/
brazil-public-data-orchestration/
Use the published images:
cp .env.example .env
docker compose up -d
./scripts/smoke-auth-bdi.shServices are exposed locally as:
| Service | URL |
|---|---|
| auth-api | http://localhost:8080 |
| bdi-api | http://localhost:8081 |
| auth MongoDB | localhost:27018 |
| bdi MongoDB | localhost:27019 |
When changing auth-api or bdi-api locally, run with the local-build override:
docker compose -f docker-compose.yml -f docker-compose.local-build.yml up --build -d
./scripts/smoke-auth-bdi.shThe override builds:
../auth-api../bdi-api
docker compose downTo remove local databases too:
docker compose down -v