Forjinn Docs

Development Platform

Documentation v2.0
Made with
by Forjinn

Deployment Guides

Learn about deployment guides and how to implement it effectively.

3 min read
🆕Recently updated
Last updated: 12/9/2025

Deployment Guides: Docker, Kubernetes, and Cloud

This document provides actionable instructions for deploying InnoSynth-Forjinn in single node, production, and enterprise environments—including Docker, Kubernetes, and all major cloud platforms. Use these guides to ensure your stack is stable, secure, scalable, and recoverable.


1. Docker Deployment (Recommended for Evaluation, Small Teams)

Prerequisites

  • Docker Engine and Docker Compose
  • Default images are built from GitHub repository or official Docker Hub image.

Steps

  1. Clone the repository:

    git clone https://github.com/innosynth/InnoSynth-Forjinn.git
    cd InnoSynth-Forjinn
    
  2. Copy/adjust environment files:

    cp docker/.env.example docker/.env
    # edit secrets/configs as needed
    
  3. Start services:

    docker-compose -f docker/docker-compose.yml up -d
    
  4. Access the platform at http://localhost:3000.

Persistent Storage

  • Mount data volumes for uploads, configs, and DB if using Postgres or other external DB.
  • Example:
    volumes:
      - ./data:/app/data
      - ./logs:/app/logs
    

2. Kubernetes (K8s) Deployment (Scale, High-Availability)

Prerequisites

  • A working K8s cluster (EKS, GKE, AKS, on-prem)
  • kubectl + Helm (for charts)
  • StorageClass configured (PersistentVolumes for data)

Deploy with Helm

  1. Install Helm and add the platform chart repository (if available).
  2. Create your custom values.yaml for secrets, envs, scaling.
  3. Deploy:
    helm install forjinn ./charts/forjinn -f my-values.yaml
    
  4. Use Ingress or LoadBalancer for public endpoints.

Environment Configuration

  • Pass all config via secrets/configmaps (see env.example)
  • Mount volumes for persistent data
  • For distributed/worker pattern, scale worker pods separately

Key Best Practices

  • Use managed DB and object storage for scale
  • Enable healthchecks and autoscaling
  • Deploy with TLS/Ingress for all endpoints
  • Monitor with Prometheus, log to centralized sink
  • Use rolling upgrades with helm upgrade

3. Cloud Guides

AWS

  • ECR for images, ECS/EKS for orchestration, S3 for storage, RDS for DB.
  • Use SSM or Secrets Manager for sensitive config.

Azure

  • AKS or Azure App Service for runtime, Blob Storage, Azure Postgres.
  • Managed Identity for secure access.

GCP

  • GKE for k8s, Cloud Run for serverless jobs, Cloud Storage for files, CloudSQL for DB.

Common Cloud Patterns

  • Use platform’s cloud provider-native networking, secrets, and backup tools.
  • Review quotas/resource caps before scale-up.

Upgrade/Migration

  • Stop old containers/pods, back up persistent data, pull new image/tag.
  • For zero downtime, use Blue/Green or rolling upgrade strategies.
  • Back up DB before major version updates.

Troubleshooting & Recovery

  • Use provided diagnostic endpoints (/status, /health).
  • Access logs via Docker logs, kubectl, or cloud provider tools.
  • If pods/services won't start, review ENV, secrets, and persistent volume configs.

Load Balancing & Scaling

  • In K8s, use HPA (Horizontal Pod Autoscaler) and LoadBalancer Ingress.
  • In Docker, use Swarm or external LB (e.g., Nginx, Traefik).

Security Considerations

  • Never commit production secrets to git; use container secrets managers.
  • Limit access to admin UI, API, and sensitive endpoints via firewall or VPN.
  • Turn on HTTPS for all public endpoints, especially for API/webhooks.

Backup & Disaster Recovery

  • Schedule regular DB and filesystem (uploads, artifacts) backups
  • Test restore processes quarterly
  • Document and automate failover procedures

Proper infrastructure design ensures Forjinn is ready for both continuous delivery and mission-critical use—choose the model that fits your team's needs and always test in a safe environment before going live.