{
  "manifest_version": "1.0.0",
  "template": {
    "id": "b5cc7e07-4f1c-4594-bb82-6d453829c134",
    "slug": "hermes-all-in-one",
    "name": "hermes-all-in-one",
    "description": "Hermes Agent with WebUI and Control Plane",
    "url": "https://railway.com/deploy/hermes-all-in-one",
    "upstream": {
      "repo_url": "https://github.com/saenyakorn/hermes-all-in-one"
    }
  },
  "services": [
    {
      "name": "hermes-all-in-one",
      "source": {
        "repo": "https://github.com/saenyakorn/hermes-all-in-one"
      },
      "needs_volume": true,
      "volume_mount_path": "/data",
      "http": true
    }
  ],
  "required_inputs": [
    {
      "key": "HERMES_HOME",
      "service": "hermes-all-in-one",
      "description": "Provide a value for HERMES_HOME.",
      "secret": false,
      "strategy": "default",
      "default": "/data/.hermes"
    },
    {
      "key": "CONTROL_PLANE_HOST",
      "service": "hermes-all-in-one",
      "description": "Provide a value for CONTROL_PLANE_HOST.",
      "secret": false,
      "strategy": "default",
      "default": "0.0.0.0"
    },
    {
      "key": "HERMES_CONFIG_PATH",
      "service": "hermes-all-in-one",
      "description": "Provide a value for HERMES_CONFIG_PATH.",
      "secret": false,
      "strategy": "default",
      "default": "/data/.hermes/config.yaml"
    },
    {
      "key": "HERMES_WORKSPACE_DIR",
      "service": "hermes-all-in-one",
      "description": "Provide a value for HERMES_WORKSPACE_DIR.",
      "secret": false,
      "strategy": "default",
      "default": "/data/workspace"
    },
    {
      "key": "HERMES_ADMIN_PASSWORD",
      "service": "hermes-all-in-one",
      "description": "Provide a value for HERMES_ADMIN_PASSWORD.",
      "secret": true,
      "strategy": "generate",
      "generate": "strong_password"
    },
    {
      "key": "HERMES_ADMIN_USERNAME",
      "service": "hermes-all-in-one",
      "description": "Provide a value for HERMES_ADMIN_USERNAME.",
      "secret": false,
      "strategy": "default",
      "default": "admin"
    },
    {
      "key": "HERMES_WEBUI_PASSWORD",
      "service": "hermes-all-in-one",
      "description": "Provide a value for HERMES_WEBUI_PASSWORD.",
      "secret": true,
      "strategy": "generate",
      "generate": "strong_password"
    },
    {
      "key": "HERMES_WEBUI_AGENT_DIR",
      "service": "hermes-all-in-one",
      "description": "Provide a value for HERMES_WEBUI_AGENT_DIR.",
      "secret": false,
      "strategy": "default",
      "default": "/app/vendor/hermes-agent"
    },
    {
      "key": "HERMES_WEBUI_STATE_DIR",
      "service": "hermes-all-in-one",
      "description": "Provide a value for HERMES_WEBUI_STATE_DIR.",
      "secret": false,
      "strategy": "default",
      "default": "/data/webui"
    },
    {
      "key": "HERMES_GATEWAY_AUTOSTART",
      "service": "hermes-all-in-one",
      "description": "Provide a value for HERMES_GATEWAY_AUTOSTART.",
      "secret": false,
      "strategy": "default",
      "default": "auto"
    },
    {
      "key": "CONTROL_PLANE_INTERNAL_WEBUI_HOST",
      "service": "hermes-all-in-one",
      "description": "Provide a value for CONTROL_PLANE_INTERNAL_WEBUI_HOST.",
      "secret": false,
      "strategy": "default",
      "default": "127.0.0.1"
    },
    {
      "key": "CONTROL_PLANE_INTERNAL_WEBUI_PORT",
      "service": "hermes-all-in-one",
      "description": "Provide a value for CONTROL_PLANE_INTERNAL_WEBUI_PORT.",
      "secret": false,
      "strategy": "default",
      "default": "8788"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "hermes-all-in-one"
      }
    },
    "cli": "railway deploy --template hermes-all-in-one",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "b5cc7e07-4f1c-4594-bb82-6d453829c134",
            "serializedConfig": {
              "services": {
                "25b1c86e-60ef-46b0-a9cb-414c8b5a82cf": {
                  "name": "hermes-all-in-one",
                  "deploy": {
                    "healthcheckPath": "/health"
                  },
                  "source": {
                    "repo": "saenyakorn/hermes-all-in-one",
                    "branch": null,
                    "rootDirectory": null
                  },
                  "variables": {
                    "HERMES_HOME": {
                      "defaultValue": "/data/.hermes"
                    },
                    "CONTROL_PLANE_HOST": {
                      "defaultValue": "0.0.0.0"
                    },
                    "HERMES_CONFIG_PATH": {
                      "defaultValue": "/data/.hermes/config.yaml"
                    },
                    "HERMES_WORKSPACE_DIR": {
                      "defaultValue": "/data/workspace"
                    },
                    "HERMES_ADMIN_PASSWORD": {
                      "defaultValue": "{{HERMES_ADMIN_PASSWORD}}"
                    },
                    "HERMES_ADMIN_USERNAME": {
                      "defaultValue": "admin"
                    },
                    "HERMES_WEBUI_PASSWORD": {
                      "defaultValue": "{{HERMES_WEBUI_PASSWORD}}"
                    },
                    "HERMES_WEBUI_AGENT_DIR": {
                      "defaultValue": "/app/vendor/hermes-agent"
                    },
                    "HERMES_WEBUI_STATE_DIR": {
                      "defaultValue": "/data/webui"
                    },
                    "HERMES_GATEWAY_AUTOSTART": {
                      "defaultValue": "auto"
                    },
                    "CONTROL_PLANE_INTERNAL_WEBUI_HOST": {
                      "defaultValue": "127.0.0.1"
                    },
                    "CONTROL_PLANE_INTERNAL_WEBUI_PORT": {
                      "defaultValue": "8788"
                    }
                  },
                  "networking": {
                    "serviceDomains": {
                      "<hasDomain>:8080": {
                        "port": 8080
                      }
                    }
                  },
                  "volumeMounts": {
                    "25b1c86e-60ef-46b0-a9cb-414c8b5a82cf": {
                      "mountPath": "/data"
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {
    "healthcheck": {
      "service": "hermes-all-in-one",
      "method": "GET",
      "path": "/health",
      "expect_status": 200
    }
  },
  "resources": {
    "expected_services": 1,
    "needs_volume": true
  },
  "generated_at": "2026-09-20T16:14:49.616Z",
  "generator_version": "0.1.0",
  "status": "validated",
  "validated_at": "2026-09-20T11:55:48.225Z",
  "success_rate_30d": 1,
  "validation": {
    "last_run_id": "run_5ae3a970f7424f03aafa",
    "checks": [
      {
        "name": "workflow_completed",
        "passed": true
      },
      {
        "name": "all_services_deployed",
        "passed": true
      },
      {
        "name": "healthcheck",
        "passed": true
      },
      {
        "name": "stays_up",
        "passed": true
      }
    ],
    "typical_ready_seconds": 162,
    "typical_build_seconds": 107,
    "typical_start_seconds": 20,
    "slowest_service": "hermes-all-in-one"
  }
}
