{
  "manifest_version": "1.0.0",
  "template": {
    "id": "5b81b2e8-9f54-469c-b683-40215f0f53b4",
    "slug": "craft-web-suite-mcp",
    "name": "Craft Web Suite + MCP",
    "description": "Storytold + Supergateway. Seven apps, one MCP.",
    "url": "https://railway.com/deploy/craft-web-suite-mcp",
    "upstream": {
      "repo_url": "https://github.com/feliperosenek/craft-deploy"
    }
  },
  "services": [
    {
      "name": "EffectCraft",
      "source": {
        "repo": "https://github.com/feliperosenek/craft-deploy"
      },
      "needs_volume": false,
      "http": true
    },
    {
      "name": "FilmCraft",
      "source": {
        "repo": "https://github.com/feliperosenek/craft-deploy"
      },
      "needs_volume": false,
      "http": true
    },
    {
      "name": "PhotoCraft",
      "source": {
        "repo": "https://github.com/feliperosenek/craft-deploy"
      },
      "needs_volume": false,
      "http": true
    },
    {
      "name": "MCP",
      "source": {
        "repo": "https://github.com/feliperosenek/craft-deploy"
      },
      "needs_volume": false,
      "http": true
    },
    {
      "name": "LightCraft",
      "source": {
        "repo": "https://github.com/feliperosenek/craft-deploy"
      },
      "needs_volume": false,
      "http": true
    },
    {
      "name": "PdfCraft",
      "source": {
        "repo": "https://github.com/feliperosenek/craft-deploy"
      },
      "needs_volume": false,
      "http": true
    },
    {
      "name": "DesignCraft",
      "source": {
        "repo": "https://github.com/feliperosenek/craft-deploy"
      },
      "needs_volume": false,
      "http": true
    },
    {
      "name": "VectorCraft",
      "source": {
        "repo": "https://github.com/feliperosenek/craft-deploy"
      },
      "needs_volume": false,
      "http": true
    }
  ],
  "required_inputs": [
    {
      "key": "SUPERGATEWAY_API_KEY",
      "service": "EffectCraft",
      "description": "Provide a value for SUPERGATEWAY_API_KEY.",
      "secret": true,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "SUPERGATEWAY_API_KEY",
      "service": "FilmCraft",
      "description": "Provide a value for SUPERGATEWAY_API_KEY.",
      "secret": true,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "SUPERGATEWAY_API_KEY",
      "service": "PhotoCraft",
      "description": "Provide a value for SUPERGATEWAY_API_KEY.",
      "secret": true,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "PDFCRAFT_MCP",
      "service": "MCP",
      "description": "Provide a value for PDFCRAFT_MCP.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_private_domain"
    },
    {
      "key": "FILMCRAFT_MCP",
      "service": "MCP",
      "description": "Provide a value for FILMCRAFT_MCP.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_private_domain"
    },
    {
      "key": "LIGHTCRAFT_MCP",
      "service": "MCP",
      "description": "Provide a value for LIGHTCRAFT_MCP.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_private_domain"
    },
    {
      "key": "PHOTOCRAFT_MCP",
      "service": "MCP",
      "description": "Provide a value for PHOTOCRAFT_MCP.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_private_domain"
    },
    {
      "key": "DESIGNCRAFT_MCP",
      "service": "MCP",
      "description": "Provide a value for DESIGNCRAFT_MCP.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_private_domain"
    },
    {
      "key": "EFFECTCRAFT_MCP",
      "service": "MCP",
      "description": "Provide a value for EFFECTCRAFT_MCP.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_private_domain"
    },
    {
      "key": "VECTORCRAFT_MCP",
      "service": "MCP",
      "description": "Provide a value for VECTORCRAFT_MCP.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_private_domain"
    },
    {
      "key": "SUPERGATEWAY_API_KEY",
      "service": "MCP",
      "description": "Provide a value for SUPERGATEWAY_API_KEY.",
      "secret": true,
      "strategy": "generate",
      "generate": "random_base64_32"
    },
    {
      "key": "SUPERGATEWAY_API_KEY",
      "service": "LightCraft",
      "description": "Provide a value for SUPERGATEWAY_API_KEY.",
      "secret": true,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "SUPERGATEWAY_API_KEY",
      "service": "PdfCraft",
      "description": "Provide a value for SUPERGATEWAY_API_KEY.",
      "secret": true,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "SUPERGATEWAY_API_KEY",
      "service": "DesignCraft",
      "description": "Provide a value for SUPERGATEWAY_API_KEY.",
      "secret": true,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "SUPERGATEWAY_API_KEY",
      "service": "VectorCraft",
      "description": "Provide a value for SUPERGATEWAY_API_KEY.",
      "secret": true,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "craft-web-suite-mcp"
      }
    },
    "cli": "railway deploy --template craft-web-suite-mcp",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "5b81b2e8-9f54-469c-b683-40215f0f53b4",
            "serializedConfig": {
              "buckets": {},
              "services": {
                "70c2e950-cb5a-4628-8dad-38d2ca7d7c78": {
                  "icon": "https://cdn.jsdelivr.net/gh/feliperosenek/craft-deploy@31b7829a9014d50a2d45974654bd0e4a29ffd76a/icons/effectcraft.svg",
                  "name": "EffectCraft",
                  "deploy": {
                    "startCommand": null,
                    "healthcheckPath": "/healthz",
                    "restartPolicyType": "ON_FAILURE",
                    "restartPolicyMaxRetries": 10
                  },
                  "source": {
                    "repo": "https://github.com/feliperosenek/craft-deploy",
                    "rootDirectory": null
                  },
                  "variables": {
                    "SUPERGATEWAY_API_KEY": {
                      "isOptional": false,
                      "defaultValue": "${{MCP.SUPERGATEWAY_API_KEY}}"
                    }
                  },
                  "networking": {
                    "serviceDomains": {
                      "<hasDomain>:8080": {
                        "port": 8080
                      }
                    }
                  }
                },
                "97dae21c-a75b-4858-bb59-d79b2a9fed40": {
                  "icon": "https://cdn.jsdelivr.net/gh/feliperosenek/craft-deploy@31b7829a9014d50a2d45974654bd0e4a29ffd76a/icons/filmcraft.svg",
                  "name": "FilmCraft",
                  "deploy": {
                    "startCommand": null,
                    "healthcheckPath": "/healthz",
                    "restartPolicyType": "ON_FAILURE",
                    "restartPolicyMaxRetries": 10
                  },
                  "source": {
                    "repo": "https://github.com/feliperosenek/craft-deploy",
                    "rootDirectory": null
                  },
                  "variables": {
                    "SUPERGATEWAY_API_KEY": {
                      "isOptional": false,
                      "defaultValue": "${{MCP.SUPERGATEWAY_API_KEY}}"
                    }
                  },
                  "networking": {
                    "serviceDomains": {
                      "<hasDomain>:8080": {
                        "port": 8080
                      }
                    }
                  }
                },
                "a28cfbb0-552e-43fd-a39a-86b758101d07": {
                  "icon": "https://cdn.jsdelivr.net/gh/feliperosenek/craft-deploy@31b7829a9014d50a2d45974654bd0e4a29ffd76a/icons/photocraft.svg",
                  "name": "PhotoCraft",
                  "deploy": {
                    "startCommand": null,
                    "healthcheckPath": "/healthz",
                    "restartPolicyType": "ON_FAILURE",
                    "restartPolicyMaxRetries": 10
                  },
                  "source": {
                    "repo": "https://github.com/feliperosenek/craft-deploy",
                    "rootDirectory": null
                  },
                  "variables": {
                    "SUPERGATEWAY_API_KEY": {
                      "isOptional": false,
                      "defaultValue": "${{MCP.SUPERGATEWAY_API_KEY}}"
                    }
                  },
                  "networking": {
                    "serviceDomains": {
                      "<hasDomain>:8080": {
                        "port": 8080
                      }
                    }
                  }
                },
                "b43d1618-3ef8-4069-9b87-969a2c6437c3": {
                  "icon": null,
                  "name": "MCP",
                  "deploy": {
                    "startCommand": null,
                    "healthcheckPath": "/healthz",
                    "restartPolicyType": "ON_FAILURE",
                    "restartPolicyMaxRetries": 10
                  },
                  "source": {
                    "repo": "https://github.com/feliperosenek/craft-deploy",
                    "rootDirectory": "mcp"
                  },
                  "variables": {
                    "PDFCRAFT_MCP": {
                      "isOptional": false,
                      "defaultValue": "http://${{PdfCraft.RAILWAY_PRIVATE_DOMAIN}}:8080/mcp"
                    },
                    "FILMCRAFT_MCP": {
                      "isOptional": false,
                      "defaultValue": "http://${{FilmCraft.RAILWAY_PRIVATE_DOMAIN}}:8080/mcp"
                    },
                    "LIGHTCRAFT_MCP": {
                      "isOptional": false,
                      "defaultValue": "http://${{LightCraft.RAILWAY_PRIVATE_DOMAIN}}:8080/mcp"
                    },
                    "PHOTOCRAFT_MCP": {
                      "isOptional": false,
                      "defaultValue": "http://${{PhotoCraft.RAILWAY_PRIVATE_DOMAIN}}:8080/mcp"
                    },
                    "DESIGNCRAFT_MCP": {
                      "isOptional": false,
                      "defaultValue": "http://${{DesignCraft.RAILWAY_PRIVATE_DOMAIN}}:8080/mcp"
                    },
                    "EFFECTCRAFT_MCP": {
                      "isOptional": false,
                      "defaultValue": "http://${{EffectCraft.RAILWAY_PRIVATE_DOMAIN}}:8080/mcp"
                    },
                    "VECTORCRAFT_MCP": {
                      "isOptional": false,
                      "defaultValue": "http://${{VectorCraft.RAILWAY_PRIVATE_DOMAIN}}:8080/mcp"
                    },
                    "SUPERGATEWAY_API_KEY": {
                      "isOptional": false,
                      "defaultValue": "{{SUPERGATEWAY_API_KEY}}"
                    }
                  },
                  "networking": {
                    "serviceDomains": {
                      "<hasDomain>:8080": {
                        "port": 8080
                      }
                    }
                  }
                },
                "b9f1dc3f-9aee-460f-882c-c50cbce4277d": {
                  "icon": "https://cdn.jsdelivr.net/gh/feliperosenek/craft-deploy@31b7829a9014d50a2d45974654bd0e4a29ffd76a/icons/lightcraft.svg",
                  "name": "LightCraft",
                  "deploy": {
                    "startCommand": null,
                    "healthcheckPath": "/healthz",
                    "restartPolicyType": "ON_FAILURE",
                    "restartPolicyMaxRetries": 10
                  },
                  "source": {
                    "repo": "https://github.com/feliperosenek/craft-deploy",
                    "rootDirectory": null
                  },
                  "variables": {
                    "SUPERGATEWAY_API_KEY": {
                      "isOptional": false,
                      "defaultValue": "${{MCP.SUPERGATEWAY_API_KEY}}"
                    }
                  },
                  "networking": {
                    "serviceDomains": {
                      "<hasDomain>:8080": {
                        "port": 8080
                      }
                    }
                  }
                },
                "bd434fca-d4fc-4f9d-91d6-4a9d301ccee4": {
                  "icon": "https://cdn.jsdelivr.net/gh/feliperosenek/craft-deploy@31b7829a9014d50a2d45974654bd0e4a29ffd76a/icons/pdfcraft.svg",
                  "name": "PdfCraft",
                  "deploy": {
                    "startCommand": null,
                    "healthcheckPath": "/healthz",
                    "restartPolicyType": "ON_FAILURE",
                    "restartPolicyMaxRetries": 10
                  },
                  "source": {
                    "repo": "https://github.com/feliperosenek/craft-deploy",
                    "rootDirectory": null
                  },
                  "variables": {
                    "SUPERGATEWAY_API_KEY": {
                      "isOptional": false,
                      "defaultValue": "${{MCP.SUPERGATEWAY_API_KEY}}"
                    }
                  },
                  "networking": {
                    "serviceDomains": {
                      "<hasDomain>:8080": {
                        "port": 8080
                      }
                    }
                  }
                },
                "c2479706-68ab-44ee-b386-1ec2ff13fd94": {
                  "icon": "https://cdn.jsdelivr.net/gh/feliperosenek/craft-deploy@31b7829a9014d50a2d45974654bd0e4a29ffd76a/icons/designcraft.svg",
                  "name": "DesignCraft",
                  "deploy": {
                    "startCommand": null,
                    "healthcheckPath": "/healthz",
                    "restartPolicyType": "ON_FAILURE",
                    "restartPolicyMaxRetries": 10
                  },
                  "source": {
                    "repo": "https://github.com/feliperosenek/craft-deploy",
                    "rootDirectory": null
                  },
                  "variables": {
                    "SUPERGATEWAY_API_KEY": {
                      "isOptional": false,
                      "defaultValue": "${{MCP.SUPERGATEWAY_API_KEY}}"
                    }
                  },
                  "networking": {
                    "serviceDomains": {
                      "<hasDomain>:8080": {
                        "port": 8080
                      }
                    }
                  }
                },
                "d0d97d33-7550-4bb1-b510-5ac868968b26": {
                  "icon": "https://cdn.jsdelivr.net/gh/feliperosenek/craft-deploy@31b7829a9014d50a2d45974654bd0e4a29ffd76a/icons/vectorcraft.svg",
                  "name": "VectorCraft",
                  "deploy": {
                    "startCommand": null,
                    "healthcheckPath": "/healthz",
                    "restartPolicyType": "ON_FAILURE",
                    "restartPolicyMaxRetries": 10
                  },
                  "source": {
                    "repo": "https://github.com/feliperosenek/craft-deploy",
                    "rootDirectory": null
                  },
                  "variables": {
                    "SUPERGATEWAY_API_KEY": {
                      "isOptional": false,
                      "defaultValue": "${{MCP.SUPERGATEWAY_API_KEY}}"
                    }
                  },
                  "networking": {
                    "serviceDomains": {
                      "<hasDomain>:8080": {
                        "port": 8080
                      }
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {
    "healthcheck": {
      "service": "EffectCraft",
      "method": "GET",
      "path": "/healthz",
      "expect_status": 200
    }
  },
  "resources": {
    "expected_services": 8,
    "needs_volume": false
  },
  "generated_at": "2026-10-12T22:14:42.224Z",
  "generator_version": "0.1.0",
  "status": "validated",
  "validated_at": "2026-10-12T22:18:47.407Z",
  "success_rate_30d": 1,
  "validation": {
    "last_run_id": "run_82db5bb987fe45508925",
    "checks": [
      {
        "name": "workflow_completed",
        "passed": true
      },
      {
        "name": "all_services_deployed",
        "passed": true
      },
      {
        "name": "healthcheck",
        "passed": true
      },
      {
        "name": "stays_up",
        "passed": true
      }
    ],
    "typical_ready_seconds": 98,
    "typical_build_seconds": 71,
    "typical_start_seconds": 10,
    "slowest_service": "LightCraft"
  }
}
