This folder contains a compose file for running GovTool services locally.
- Docker and Docker Compose
- A reachable db-sync Postgres instance
From the repo root
cd docker
cp .env.example .envNote
Update the backend config file used by the govtool-backend service in example-config.json before starting the stack.
Also fill in the db-sync details and required URLs in the outcomes env file. Create env files for the frontend and metadata-validation services from their examples if they are not already present.
Note: The .env.example in this folder is for the outcomes service only.
Edit docker/.env with real values:
- DBSYNC_POSTGRES_HOST
- DBSYNC_POSTGRES_PORT
- DBSYNC_DATABASE
- DBSYNC_POSTGRES_USER
- DBSYNC_POSTGRES_PASSWORD
- IPFS_GATEWAY
- PDF_API_URL
Option A: build locally (uses Dockerfiles)
docker compose up -d --buildOption B: use images only (no build)
docker compose pull
docker compose up -d --no-build- Frontend: http://localhost
- Backend API: http://localhost:9999
- Metadata validation: http://localhost:3000
- Outcomes API: http://localhost:3001