{
  "manifest_version": "1.0.0",
  "template": {
    "id": "9b06d856-452b-4085-b103-aa7e378fb808",
    "slug": "multica-1",
    "name": "Multica",
    "description": "Multica: self-hosted AI team workspace with boards, chat, squads.",
    "url": "https://railway.com/deploy/multica-1"
  },
  "services": [
    {
      "name": "frontend",
      "source": {
        "image": "ghcr.io/multica-ai/multica-web:v0.3.29"
      },
      "needs_volume": false,
      "http": false
    },
    {
      "name": "backend",
      "source": {
        "image": "wotonews/multica:v0.3.29-1"
      },
      "needs_volume": true,
      "volume_mount_path": "/app/data/uploads",
      "http": false
    },
    {
      "name": "postgres",
      "source": {
        "image": "wotonews/postgres:v17.11-3"
      },
      "needs_volume": true,
      "volume_mount_path": "/var/lib/postgresql/data",
      "http": false
    }
  ],
  "required_inputs": [
    {
      "key": "REMOTE_API_URL",
      "service": "frontend",
      "description": "Provide a value for REMOTE_API_URL.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_private_domain"
    },
    {
      "key": "JWT_SECRET",
      "service": "backend",
      "description": "Provide a value for JWT_SECRET.",
      "secret": true,
      "strategy": "generate",
      "generate": "random_base64_32"
    },
    {
      "key": "DATABASE_URL",
      "service": "backend",
      "description": "Provide a value for DATABASE_URL.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_private_domain"
    },
    {
      "key": "POSTGRES_PASSWORD",
      "service": "postgres",
      "description": "Provide a value for POSTGRES_PASSWORD.",
      "secret": true,
      "strategy": "generate",
      "generate": "strong_password"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "multica-1"
      }
    },
    "cli": "railway deploy --template multica-1",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "9b06d856-452b-4085-b103-aa7e378fb808",
            "serializedConfig": {
              "buckets": {},
              "services": {
                "1de2c65f-cbe4-4dbe-8149-f97d07b3d5fd": {
                  "icon": null,
                  "name": "frontend",
                  "deploy": {
                    "startCommand": null,
                    "healthcheckPath": null,
                    "restartPolicyType": "ON_FAILURE",
                    "restartPolicyMaxRetries": 10
                  },
                  "source": {
                    "image": "ghcr.io/multica-ai/multica-web:v0.3.29"
                  },
                  "variables": {
                    "REMOTE_API_URL": {
                      "isOptional": false,
                      "defaultValue": "http://${{backend.RAILWAY_PRIVATE_DOMAIN}}:8080"
                    }
                  }
                },
                "b1d6a9cb-0ca7-423e-b3c3-f22d5d95e1e4": {
                  "icon": null,
                  "name": "backend",
                  "deploy": {
                    "startCommand": null,
                    "healthcheckPath": null,
                    "restartPolicyType": "ON_FAILURE",
                    "restartPolicyMaxRetries": 10
                  },
                  "source": {
                    "image": "wotonews/multica:v0.3.29-1"
                  },
                  "variables": {
                    "JWT_SECRET": {
                      "isOptional": false,
                      "defaultValue": "{{JWT_SECRET}}"
                    },
                    "DATABASE_URL": {
                      "isOptional": false,
                      "defaultValue": "postgres://app:${{postgres.POSTGRES_PASSWORD}}@${{postgres.RAILWAY_PRIVATE_DOMAIN}}:5432/app?sslmode=disable"
                    }
                  },
                  "volumeMounts": {
                    "b1d6a9cb-0ca7-423e-b3c3-f22d5d95e1e4": {
                      "mountPath": "/app/data/uploads"
                    }
                  }
                },
                "fe5ede2f-eaef-49f4-b9a0-fa6b49c51104": {
                  "icon": null,
                  "name": "postgres",
                  "deploy": {
                    "startCommand": null,
                    "healthcheckPath": null,
                    "restartPolicyType": "ON_FAILURE",
                    "restartPolicyMaxRetries": 10
                  },
                  "source": {
                    "image": "wotonews/postgres:v17.11-3"
                  },
                  "variables": {
                    "POSTGRES_PASSWORD": {
                      "isOptional": false,
                      "defaultValue": "{{POSTGRES_PASSWORD}}"
                    }
                  },
                  "volumeMounts": {
                    "fe5ede2f-eaef-49f4-b9a0-fa6b49c51104": {
                      "mountPath": "/var/lib/postgresql/data"
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {},
  "resources": {
    "expected_services": 3,
    "needs_volume": true
  },
  "generated_at": "2026-10-08T22:14:43.517Z",
  "generator_version": "0.1.0",
  "status": "validated",
  "validated_at": "2026-10-08T20:39:51.513Z",
  "success_rate_30d": 1,
  "validation": {
    "last_run_id": "run_a85726d123734b0e9695",
    "checks": [
      {
        "name": "workflow_completed",
        "passed": true
      },
      {
        "name": "all_services_deployed",
        "passed": true
      },
      {
        "name": "stays_up",
        "passed": true
      }
    ],
    "typical_ready_seconds": 91,
    "typical_build_seconds": 0,
    "typical_start_seconds": 10,
    "slowest_service": "frontend"
  }
}
