> ## Documentation Index
> Fetch the complete documentation index at: https://docs.figorisk.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Deployment Overview

> Understanding FigoRisk deployment architecture

## Architecture

FigoRisk is deployed as a set of Docker containers, providing a consistent and portable deployment across different platforms.

<img src="https://mintlify.s3.us-west-1.amazonaws.com/figorisk-386c5e4b/images/architecture-diagram.png" alt="FigoRisk Architecture" />

## Components

<CardGroup cols={2}>
  <Card title="Backend API" icon="server">
    **Technology**: NestJS **Port**: 3000 (internal) **Purpose**: Business
    logic, authentication, data processing
  </Card>

  <Card title="Frontend" icon="window">
    **Technology**: Next.js **Port**: 3000 (internal) **Purpose**: User
    interface
  </Card>

  <Card title="Database" icon="database">
    **Technology**: MongoDB 6.0 **Port**: 27017 (internal) **Purpose**: Data
    persistence
  </Card>

  <Card title="Reverse Proxy" icon="globe">
    **Technology**: Nginx **Ports**: 80, 443 **Purpose**: Request routing, SSL
    termination
  </Card>
</CardGroup>

## Platform Support

FigoRisk supports multiple platforms through multi-architecture Docker images:

| Platform            | Architecture | Status      |
| ------------------- | ------------ | ----------- |
| Linux AMD64         | x86\_64      | ✅ Supported |
| Linux ARM64         | aarch64      | ✅ Supported |
| macOS Intel         | x86\_64      | ✅ Supported |
| macOS Apple Silicon | ARM64        | ✅ Supported |
| Windows WSL2        | x86\_64      | ✅ Supported |

## Deployment Options

<Tabs>
  <Tab title="Docker Compose">
    **Best for**: Development, small deployments, testing - Simple
    single-command deployment - All services on one host - Easy to manage and
    troubleshoot [View Docker Guide →](/deployment/docker)
  </Tab>

  <Tab title="Kubernetes">
    **Best for**: Production, large scale, high availability - Horizontal
    scaling - Auto-healing and rolling updates - Load balancing [View K8s Guide
    →](/deployment/kubernetes)
  </Tab>

  <Tab title="Cloud Platforms">
    **Best for**: Managed infrastructure - AWS ECS/EKS - Google Cloud Run -
    Azure Container Instances [View Cloud Guide →](/deployment/cloud)
  </Tab>
</Tabs>

## Next Steps

<Steps>
  <Step title="Check Prerequisites">Review system requirements</Step>

  <Step title="Choose Deployment Method">
    Select Docker Compose or Kubernetes
  </Step>

  <Step title="Configure">Set up environment variables</Step>
  <Step title="Deploy">Run deployment scripts</Step>
</Steps>
