{
  "manifest_version": "1.0.0",
  "template": {
    "id": "0f8f9619-d7c2-4d87-946e-26f0ded27749",
    "slug": "tXERGO",
    "name": "ollama",
    "description": "ollama container with a demo/testing interface",
    "url": "https://railway.com/deploy/tXERGO",
    "upstream": {
      "repo_url": "https://github.com/chris-windsor/alpaca"
    }
  },
  "status": "unvalidated",
  "validated_at": null,
  "success_rate_30d": null,
  "services": [
    {
      "name": "ui",
      "source": {
        "repo": "https://github.com/chris-windsor/alpaca"
      },
      "needs_volume": false,
      "http": true
    },
    {
      "name": "ollama",
      "source": {
        "image": "ollama/ollama"
      },
      "needs_volume": false,
      "http": false
    }
  ],
  "required_inputs": [
    {
      "key": "PORT",
      "service": "ui",
      "description": "host port of ui",
      "secret": false,
      "strategy": "default",
      "default": "6794"
    },
    {
      "key": "PUBLIC_OLLAMA_HOST",
      "service": "ui",
      "description": "Set to the internal address of the ollama service followed by :11434",
      "secret": false,
      "strategy": "ask_user"
    },
    {
      "key": "OLLAMA_ORIGINS",
      "service": "ollama",
      "description": "Set to the public URL of the 'ui' service",
      "secret": false,
      "strategy": "ask_user"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "tXERGO"
      }
    },
    "cli": "railway deploy --template tXERGO",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "0f8f9619-d7c2-4d87-946e-26f0ded27749",
            "serializedConfig": {
              "services": {
                "c64c0d76-8848-44af-82f3-aaf96f10aa2b": {
                  "name": "ui",
                  "build": {},
                  "deploy": {
                    "startCommand": null,
                    "healthcheckPath": null
                  },
                  "source": {
                    "repo": "https://github.com/chris-windsor/alpaca",
                    "rootDirectory": null
                  },
                  "variables": {
                    "PORT": {
                      "isOptional": false,
                      "description": "host port of ui",
                      "defaultValue": "6794"
                    },
                    "PUBLIC_OLLAMA_HOST": {
                      "isOptional": false,
                      "description": "Set to the internal address of the ollama service followed by :11434",
                      "defaultValue": "{{PUBLIC_OLLAMA_HOST}}"
                    }
                  },
                  "networking": {
                    "tcpProxies": {},
                    "serviceDomains": {
                      "<hasDomain>": {}
                    }
                  },
                  "volumeMounts": {}
                },
                "e5d48c7b-89ad-46ad-9081-5cc8606bb1ac": {
                  "name": "ollama",
                  "build": {},
                  "deploy": {
                    "startCommand": null,
                    "healthcheckPath": null
                  },
                  "source": {
                    "image": "ollama/ollama"
                  },
                  "variables": {
                    "OLLAMA_ORIGINS": {
                      "isOptional": false,
                      "description": "Set to the public URL of the 'ui' service",
                      "defaultValue": "{{OLLAMA_ORIGINS}}"
                    }
                  },
                  "networking": {
                    "tcpProxies": {},
                    "serviceDomains": {}
                  },
                  "volumeMounts": {}
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {},
  "resources": {
    "expected_services": 2,
    "needs_volume": false
  },
  "generated_at": "2026-09-21T22:14:44.200Z",
  "generator_version": "0.1.0"
}
