This directory holds the Dockerfiles for the individual ACBU services. The
infrastructure services (PostgreSQL, MongoDB, RabbitMQ), the backend API, and
the optional application services are all wired together in the root
docker-compose.yml.
| File | Service | Purpose |
|---|---|---|
frontend.Dockerfile |
frontend |
Multi-stage build for the Next.js app in acbu-frontend/ |
../Dockerfile |
backend |
Multi-stage build for the backend API (TypeScript → dist/) |
The backend service runs by default together with the infrastructure
services. The remaining pieces of the complete stack are behind compose
profiles, so a plain docker compose up never attempts to build them:
| Profile | Service | Image / Build |
|---|---|---|
frontend |
frontend |
docker/frontend.Dockerfile (context: acbu-frontend/) |
stellar |
stellar-sandbox |
stellar/quickstart:latest (ephemeral local network) |
full |
all optional services | — |
# Infrastructure + backend API (default)
docker compose up -d --wait
# Frontend on http://localhost:3000 (requires acbu-frontend/ checkout)
docker compose --profile frontend up -d --build
# Local Soroban sandbox (Horizon/RPC/friendbot on http://localhost:8000)
docker compose --profile stellar up -d
# Complete ACBU stack
docker compose --profile full up -d --build --wait- Frontend build context: the frontend image is built from the
acbu-frontend/directory. It requires a frontend checkout there andoutput: "standalone"in the Next.js config (the runner stage serves.next/standalone/server.js). - Stellar sandbox: the
stellar/quickstartcontainer runs an ephemeral local Stellar network (--local). It exposes Horizon onhttp://localhost:8000, Soroban RPC onhttp://localhost:8000/rpc, and a friendbot faucet onhttp://localhost:8000/friendbot. To point the backend at it, set in.env:STELLAR_SOROBAN_RPC_URL=http://stellar-sandbox:8000/rpcSTELLAR_HORIZON_URL=http://stellar-sandbox:8000
- No Redis service: Redis is intentionally not part of the compose file —
it is reserved for future use (see
.env.example).