{
  "manifest_version": "1.0.0",
  "template": {
    "id": "d55de3e6-f43e-400f-9793-54bfd07b477d",
    "slug": "hermes-agent-all-in-one",
    "name": "Hermes Agent (All-in-One Bundle)",
    "description": "Hermes Agent + Hermes Web UI + Web TUI + Browser + Searxng Search",
    "url": "https://railway.com/deploy/hermes-agent-all-in-one",
    "upstream": {
      "repo_url": "https://github.com/protemplate/hermes-agent-railway"
    }
  },
  "status": "unvalidated",
  "validated_at": null,
  "success_rate_30d": null,
  "services": [
    {
      "name": "hermes-agent",
      "source": {
        "repo": "https://github.com/protemplate/hermes-agent-railway"
      },
      "needs_volume": true,
      "volume_mount_path": "/data",
      "http": true
    },
    {
      "name": "searxng-railway",
      "source": {
        "repo": "https://github.com/protemplate/searxng"
      },
      "needs_volume": true,
      "volume_mount_path": "/etc/searxng",
      "http": true
    }
  ],
  "required_inputs": [
    {
      "key": "PORT",
      "service": "hermes-agent",
      "description": "Provide a value for PORT.",
      "secret": false,
      "strategy": "default",
      "default": "8080"
    },
    {
      "key": "SEARXNG_URL",
      "service": "hermes-agent",
      "description": "Internal URL for SearXNG web search",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_private_domain"
    },
    {
      "key": "START_GATEWAY",
      "service": "hermes-agent",
      "description": "Set to \"true\" to also auto-start the messaging gateway daemon (Telegram/Discord/Slack/email bridges).",
      "secret": false,
      "strategy": "default",
      "default": "false"
    },
    {
      "key": "ADMIN_PASSWORD",
      "service": "hermes-agent",
      "description": "Admin dashboard password",
      "secret": true,
      "strategy": "generate",
      "generate": "strong_password"
    },
    {
      "key": "PORT",
      "service": "searxng-railway",
      "description": "Provide a value for PORT.",
      "secret": false,
      "strategy": "default",
      "default": "8080"
    },
    {
      "key": "SEARXNG_BASE_URL",
      "service": "searxng-railway",
      "description": "Base URL for SearXNG",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_domain"
    },
    {
      "key": "SEARXNG_SECRET_KEY",
      "service": "searxng-railway",
      "description": "Secret key for SearXNG",
      "secret": true,
      "strategy": "generate",
      "generate": "random_base64_32"
    },
    {
      "key": "SEARXNG_UWSGI_THREADS",
      "service": "searxng-railway",
      "description": "Provide a value for SEARXNG_UWSGI_THREADS.",
      "secret": false,
      "strategy": "default",
      "default": "4"
    },
    {
      "key": "SEARXNG_UWSGI_WORKERS",
      "service": "searxng-railway",
      "description": "Provide a value for SEARXNG_UWSGI_WORKERS.",
      "secret": false,
      "strategy": "default",
      "default": "4"
    },
    {
      "key": "ENABLE_ALPINE_PRIVATE_NETWORKING",
      "service": "searxng-railway",
      "description": "Provide a value for ENABLE_ALPINE_PRIVATE_NETWORKING.",
      "secret": false,
      "strategy": "default",
      "default": "true"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "hermes-agent-all-in-one"
      }
    },
    "cli": "railway deploy --template hermes-agent-all-in-one",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "d55de3e6-f43e-400f-9793-54bfd07b477d",
            "serializedConfig": {
              "buckets": {},
              "services": {
                "d8877418-e1b8-48f0-93f8-000ab63c8972": {
                  "icon": "https://somi-public-assets.s3.ap-southeast-1.amazonaws.com/railway/hermes-agent-logo.png",
                  "name": "hermes-agent",
                  "deploy": {
                    "startCommand": null,
                    "healthcheckPath": "/health",
                    "restartPolicyType": "ON_FAILURE",
                    "restartPolicyMaxRetries": 10
                  },
                  "source": {
                    "repo": "https://github.com/protemplate/hermes-agent-railway",
                    "rootDirectory": null
                  },
                  "variables": {
                    "PORT": {
                      "isOptional": false,
                      "defaultValue": "8080"
                    },
                    "SEARXNG_URL": {
                      "isOptional": false,
                      "description": "Internal URL for SearXNG web search",
                      "defaultValue": "http://${{searxng-railway.RAILWAY_PRIVATE_DOMAIN}}:${{searxng-railway.PORT}}"
                    },
                    "START_GATEWAY": {
                      "isOptional": true,
                      "description": "Set to \"true\" to also auto-start the messaging gateway daemon (Telegram/Discord/Slack/email bridges).",
                      "defaultValue": "false"
                    },
                    "ADMIN_PASSWORD": {
                      "isOptional": false,
                      "description": "Admin dashboard password",
                      "defaultValue": "{{ADMIN_PASSWORD}}"
                    }
                  },
                  "networking": {
                    "serviceDomains": {
                      "<hasDomain>": {}
                    }
                  },
                  "volumeMounts": {
                    "d8877418-e1b8-48f0-93f8-000ab63c8972": {
                      "mountPath": "/data"
                    }
                  }
                },
                "eb22eb1b-f40a-4c3d-8f3e-d0437174aae0": {
                  "icon": "https://somi-public-assets.s3.ap-southeast-1.amazonaws.com/railway/searxng-wordmark.svg",
                  "name": "searxng-railway",
                  "deploy": {
                    "startCommand": null,
                    "healthcheckPath": null,
                    "restartPolicyType": "ON_FAILURE",
                    "restartPolicyMaxRetries": 5
                  },
                  "source": {
                    "repo": "https://github.com/protemplate/searxng",
                    "rootDirectory": null
                  },
                  "variables": {
                    "PORT": {
                      "isOptional": false,
                      "defaultValue": "8080"
                    },
                    "SEARXNG_BASE_URL": {
                      "isOptional": false,
                      "description": "Base URL for SearXNG",
                      "defaultValue": "https://${{RAILWAY_PUBLIC_DOMAIN}}/"
                    },
                    "SEARXNG_SECRET_KEY": {
                      "isOptional": false,
                      "description": "Secret key for SearXNG",
                      "defaultValue": "{{SEARXNG_SECRET_KEY}}"
                    },
                    "SEARXNG_UWSGI_THREADS": {
                      "isOptional": false,
                      "defaultValue": "4"
                    },
                    "SEARXNG_UWSGI_WORKERS": {
                      "isOptional": false,
                      "defaultValue": "4"
                    },
                    "ENABLE_ALPINE_PRIVATE_NETWORKING": {
                      "isOptional": false,
                      "defaultValue": "true"
                    }
                  },
                  "networking": {
                    "serviceDomains": {
                      "<hasDomain>:8080": {
                        "port": 8080
                      }
                    }
                  },
                  "volumeMounts": {
                    "eb22eb1b-f40a-4c3d-8f3e-d0437174aae0": {
                      "mountPath": "/etc/searxng"
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {
    "healthcheck": {
      "service": "hermes-agent",
      "method": "GET",
      "path": "/health",
      "expect_status": 200
    }
  },
  "resources": {
    "expected_services": 2,
    "needs_volume": true
  },
  "generated_at": "2026-09-07T05:54:14.153Z",
  "generator_version": "0.1.0"
}
