Local Development Setup
Run the full AgriFoodData stack on your laptop with Docker Compose.
What's in the stack
- API gateway
- Digital farm API · Sensor Things · Spatio-Temporal · Service Registry services
- Identity provider (OpenID Connect)
- Postgres + PostGIS
- RabbitMQ
- MQTT broker
- MinIO (S3-compatible object store)
Prerequisites
- Docker 20.10+ with Compose v2
- ~8 GB free RAM, 20 GB free disk
Bring it up
git clone https://github.com/NaLamKI/agrifooddata-compose.git
cd agrifooddata-compose
docker compose up -d
The compose repo will move to the
AgriFoodDataorg once the rebrand is complete.
The first start downloads images and seeds the identity provider with demo clients and users.
Sanity check
curl http://localhost:8080/health # gateway
curl <issuer>/.well-known/openid-configuration # identity provider (the issuer URL of your local stack)
Tear down
docker compose down -v