DOCKER_SETUP.md.
The services
Your own databases and buckets, connected as datasources, are separate from the ones above.
How a background run flows
POST /v3/workflows/<id>/inferenceon floware saves any input files to object storage, records the execution aspending, and puts a task on the Celery queue in Redis.- The worker picks the task up, marks it
in_progress, builds the workflow, and runs it. Workflow steps that call Wavefront (queries, inserts, file downloads, functions) go back to floware’s API. - The worker writes
output.jsonandhistory.jsonto object storage and publishes the result on a Redis stream. - floware consumes the stream and updates the execution to
completedorfailed; clients poll it.
How the console reaches an app
Each app registered in the console has a public URL (for users) and a private URL (for the console). floconsole forwards console requests to the app’s private URL, signed with a short-lived token made from a secret shared with that app. Console users therefore never need accounts on the apps themselves.Scaling
- floware is stateless apart from its database and Redis; run several replicas behind a load balancer.
FLOWARE_WORKER_COUNTsets processes per replica. - Workers scale with background load; each takes tasks from its app’s queue.
- Model capacity is usually the real limit: provider tokens-per-minute quotas cap how many image-heavy runs can proceed at once.

