Sign inSign up

faultmaven/fm-api-gateway

By faultmaven

•Updated 10 months ago

FaultMaven API Gateway - Unified entry point for all microservices

Image
0

1.6K

faultmaven/fm-api-gateway repository overview

⁠fm-api-gateway

Part of FaultMaven⁠ — The AI-Powered Troubleshooting Copilot

FaultMaven API Gateway - Open source request routing with pluggable authentication.

License Docker

⁠Overview

Central API gateway that routes requests to FaultMaven microservices. Supports pluggable authentication providers (fm-auth-service for PUBLIC, Supabase for PRIVATE).

Features:

  • Request routing to all microservices
  • Pluggable authentication (fm-auth JWT or Supabase)
  • X-User-* header injection for downstream services
  • CORS handling
  • Health check aggregation

⁠Quick Start

docker run -d -p 8090:8090 \
  -e AUTH_PROVIDER=fm-auth \
  -e FM_AUTH_URL=http://fm-auth-service:8001 \
  faultmaven/fm-api-gateway:latest

⁠Configuration

VariableDefaultDescription
PORT8090Gateway port
AUTH_PROVIDERfm-authAuth provider (fm-auth or supabase)
FM_AUTH_URLhttp://localhost:8001fm-auth-service URL
CASE_SERVICE_URLhttp://localhost:8003fm-case-service URL
SESSION_SERVICE_URLhttp://localhost:8002fm-session-service URL
KNOWLEDGE_SERVICE_URLhttp://localhost:8004fm-knowledge-service URL
EVIDENCE_SERVICE_URLhttp://localhost:8005fm-evidence-service URL

⁠Routes

  • /api/v1/auth/* → fm-auth-service
  • /api/v1/cases/* → fm-case-service
  • /api/v1/sessions/* → fm-session-service
  • /api/v1/documents/* → fm-knowledge-service
  • /api/v1/evidence/* → fm-evidence-service

⁠Contributing

See our Contributing Guide⁠ for detailed guidelines.

⁠Support

⁠License

Apache 2.0 - See LICENSE⁠ for details.

Tag summary

Content type

Image

Digest

sha256:6f0b97ec4…

Size

66 MB

Last updated

10 months ago

docker pull faultmaven/fm-api-gateway