reloopsh/be-workflow

By reloopsh

Updated about 13 hours ago

Background job & workflow orchestration service for Reloop — BullMQ queues with built-in dashboard

Image
Web servers
0

1.7K

reloopsh/be-workflow repository overview

⚙️ Reloop — Workflow Service

The Workflow Service is the background job and workflow orchestration microservice in the Reloop platform. It processes async tasks — such as sending emails, handling events, and running scheduled operations — using BullMQ queues, and includes a built-in Bull Board dashboard for real-time job monitoring.

Built on Bun + Elysia, backed by PostgreSQL and Redis.


🚀 Features

  • BullMQ Queues — Reliable background job processing with Redis-backed queues
  • Bull Board Dashboard — Built-in UI at /api/workflow/bull-board for job monitoring
  • Workflow Orchestration — Coordinate multi-step async workflows
  • Retry & Backoff — Automatic retry logic for failed jobs
  • OpenTelemetry — Full distributed tracing support
  • API Key Auth — Secured via x-api-key header
  • OpenAPI Docs — Auto-generated spec at /api/workflow/openapi
  • NATS Bus — Event-driven trigger integration


⚡ Quick Start

docker pull reloopsh/be-workflow:latest

docker run -d \
  -p 8017:8017 \
  -e PG_URL=postgresql://user:password@host:5432/reloop \
  -e REDIS_URL=redis://:password@host:6379 \
  -e NATS_URL=nats://host:4222 \
  -e BASE_URL=https://your-domain.com \
  reloopsh/be-workflow:latest
  • API: http://localhost:8017/api/workflow
  • Bull Board: http://localhost:8017/api/workflow/bull-board

🔧 Environment Variables

VariableDefaultDescription
PORT8017Port the server listens on
PG_URLPostgreSQL connection string
REDIS_URLRedis connection string (also powers queues)
NATS_URLNATS messaging server URL
BASE_URLPublic base URL of the platform
NODE_ENVproductionRuntime environment

🛠 Tech Stack


📦 Part of the Reloop Platform

This image is one of several microservices that make up the Reloop backend. See the full list at hub.docker.com/u/reloopsh.

Tag summary

Content type

Image

Digest

sha256:9b498f553

Size

289.7 MB

Last updated

about 13 hours ago

docker pull reloopsh/be-workflow