{
  "manifest_version": "1.0.0",
  "template": {
    "id": "22c36dd8-935e-4cea-993e-ac573db31dde",
    "slug": "yyosuA",
    "name": "Carbone-ee",
    "description": "Carbone document generator",
    "url": "https://railway.com/deploy/yyosuA",
    "upstream": {
      "image": "carbone/carbone-ee"
    }
  },
  "services": [
    {
      "name": "Carbone",
      "source": {
        "image": "carbone/carbone-ee"
      },
      "needs_volume": true,
      "volume_mount_path": "/app/template",
      "http": true
    }
  ],
  "required_inputs": [
    {
      "key": "CARBONE_EE_PORT",
      "service": "Carbone",
      "description": "Port use by Carbone to expose HTTP API",
      "secret": false,
      "strategy": "default",
      "default": "8080"
    },
    {
      "key": "RAILWAY_RUN_UID",
      "service": "Carbone",
      "description": "To support volume",
      "secret": false,
      "strategy": "default",
      "default": "0"
    },
    {
      "key": "CARBONE_EE_STUDIO",
      "service": "Carbone",
      "description": "Provide a value for CARBONE_EE_STUDIO.",
      "secret": false,
      "strategy": "default",
      "default": "true"
    },
    {
      "key": "CARBONE_EE_XLSMENABLED",
      "service": "Carbone",
      "description": "Accept xlsm export",
      "secret": false,
      "strategy": "default",
      "default": "false"
    },
    {
      "key": "CARBONE_EE_AUTHENTICATION",
      "service": "Carbone",
      "description": "Enable authentification on Carbone API.",
      "secret": false,
      "strategy": "default",
      "default": "false"
    },
    {
      "key": "CARBONE_EE_CONVERTERFACTORYTIMEOUT",
      "service": "Carbone",
      "description": "Maximum conversion/socket timeout for one render (unit: ms)",
      "secret": false,
      "strategy": "default",
      "default": "60000"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "yyosuA"
      }
    },
    "cli": "railway deploy --template yyosuA",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "22c36dd8-935e-4cea-993e-ac573db31dde",
            "serializedConfig": {
              "services": {
                "405a1675-82cc-4c64-a7ab-af0c3b8523fa": {
                  "icon": "https://carbone-media.s3.us-east-1.amazonaws.com/20240213_icon_V3_250px.png",
                  "name": "Carbone",
                  "deploy": {
                    "startCommand": "",
                    "healthcheckPath": "/status",
                    "preDeployCommand": ""
                  },
                  "source": {
                    "image": "carbone/carbone-ee"
                  },
                  "variables": {
                    "CARBONE_EE_PORT": {
                      "isOptional": false,
                      "description": "Port use by Carbone to expose HTTP API",
                      "defaultValue": "8080"
                    },
                    "RAILWAY_RUN_UID": {
                      "isOptional": false,
                      "description": "To support volume",
                      "defaultValue": "0"
                    },
                    "CARBONE_EE_STUDIO": {
                      "isOptional": true,
                      "description": "",
                      "defaultValue": "true"
                    },
                    "CARBONE_EE_LICENSE": {
                      "isOptional": true,
                      "description": "",
                      "defaultValue": ""
                    },
                    "CARBONE_EE_FACTORIES": {
                      "isOptional": true,
                      "description": "Multithread parameter, number of Libreoffice, Onlyoffice or Chromium converter",
                      "defaultValue": ""
                    },
                    "CARBONE_EE_STUDIOUSER": {
                      "isOptional": true,
                      "description": "If the authentication option is enabled, the browser requests an authentication to access the web page. Credentials have to be formated, such as: `[username]:[password]",
                      "defaultValue": ""
                    },
                    "CARBONE_EE_MAXDATASIZE": {
                      "isOptional": true,
                      "description": "Maximum JSON data size accepted when rendering a report, the value must be bytes. Calcul example: 100 * 1024 * 1024 = 100MB",
                      "defaultValue": ""
                    },
                    "CARBONE_EE_XLSMENABLED": {
                      "isOptional": true,
                      "description": "Accept xlsm export",
                      "defaultValue": "false"
                    },
                    "CARBONE_EE_AUTHENTICATION": {
                      "isOptional": true,
                      "description": "Enable authentification on Carbone API.",
                      "defaultValue": "false"
                    },
                    "CARBONE_EE_MAXTEMPLATESIZE": {
                      "isOptional": true,
                      "description": "The file size limit when uploading a new template through the request POST /template, the value must be bytes. Calcul example: 30 * 1024 * 1024 = 30MB",
                      "defaultValue": ""
                    },
                    "CARBONE_EE_NBREPORTMAXPERBATCH": {
                      "isOptional": true,
                      "description": "Max number of report in a batch when batchSplitBy is used. If equal 0, batch processing is disable and return an error",
                      "defaultValue": ""
                    },
                    "CARBONE_AUTHENTICATION_PUBLIC_KEY": {
                      "isOptional": true,
                      "description": "Set public key for authentication",
                      "defaultValue": ""
                    },
                    "CARBONE_EE_CONVERTERFACTORYTIMEOUT": {
                      "isOptional": true,
                      "description": "Maximum conversion/socket timeout for one render (unit: ms)",
                      "defaultValue": "60000"
                    }
                  },
                  "networking": {
                    "serviceDomains": {
                      "<hasDomain>": {}
                    }
                  },
                  "volumeMounts": {
                    "405a1675-82cc-4c64-a7ab-af0c3b8523fa": {
                      "mountPath": "/app/template"
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {
    "healthcheck": {
      "service": "Carbone",
      "method": "GET",
      "path": "/status",
      "expect_status": 200
    }
  },
  "resources": {
    "expected_services": 1,
    "needs_volume": true
  },
  "generated_at": "2026-09-21T22:14:44.200Z",
  "generator_version": "0.1.0",
  "status": "validated",
  "validated_at": "2026-09-21T08:29:32.372Z",
  "success_rate_30d": 1,
  "validation": {
    "last_run_id": "run_94f2d6a367644ba49b9b",
    "checks": [
      {
        "name": "workflow_completed",
        "passed": true
      },
      {
        "name": "all_services_deployed",
        "passed": true
      },
      {
        "name": "healthcheck",
        "passed": true
      },
      {
        "name": "stays_up",
        "passed": true
      }
    ],
    "typical_ready_seconds": 48,
    "typical_build_seconds": 0,
    "typical_start_seconds": 1,
    "slowest_service": "Carbone"
  }
}
