Faasera Documentation

Faasera Risk & Audit Engine Deployment on Docker

This guide walks you through deploying the Faasera Risk & Audit Engine using Docker in a local or VM-based environment.


📦 Prerequisites


🛠️ Step-by-Step Deployment

1. Pull the Image

docker pull faasera/risk-audit-engine:latest

If hosted on private registry, authenticate first:

docker login registry.faasera.ai
docker pull registry.faasera.ai/faasera/risk-audit-engine:latest

2. Run the Container

docker run -d \
  --name faasera-engine \
  -p 8080:8080 \
  -e MICRONAUT_ENVIRONMENTS=docker \
  -e JWT_SECRET=your-secret-key \
  faasera/risk-audit-engine:latest

3. Verify the Deployment


Example API Request

curl -X POST http://localhost:8080/risk/summary/by-name \
  -H "Authorization: Bearer <your-token>" \
  -H "Content-Type: application/json" \
  -d '["FIRST_NAME", "EMAIL_ADDRESS"]'

Logs

docker logs -f faasera-engine

Volume Mounting (Optional)

To persist logs or add config files:

docker run -d \
  -v /host/logs:/app/logs \
  -v /host/config:/app/config \
  faasera/risk-audit-engine:latest

Health Check

curl http://localhost:8080/health

License & Support