{
  "manifest_version": "1.0.0",
  "template": {
    "id": "25674414-8e92-40da-a91c-40c0b64f0665",
    "slug": "nomic-embed",
    "name": "Nomic Embed",
    "description": "Generate high-quality text embeddings with Google's best model",
    "url": "https://railway.com/deploy/nomic-embed",
    "upstream": {
      "repo_url": "https://github.com/FraglyG/CaddyAuthProxy"
    }
  },
  "services": [
    {
      "name": "Nomic Embed Text",
      "source": {
        "image": "ollama/ollama"
      },
      "needs_volume": true,
      "volume_mount_path": "/root/.ollama",
      "http": false
    },
    {
      "name": "Auth Proxy",
      "source": {
        "repo": "https://github.com/FraglyG/CaddyAuthProxy"
      },
      "needs_volume": false,
      "http": true
    }
  ],
  "required_inputs": [
    {
      "key": "PORT",
      "service": "Nomic Embed Text",
      "description": "Provide a value for PORT.",
      "secret": false,
      "strategy": "default",
      "default": "11434"
    },
    {
      "key": "MODEL",
      "service": "Nomic Embed Text",
      "description": "Model from https://ollama.com/library",
      "secret": false,
      "strategy": "default",
      "default": "nomic-embed-text:latest"
    },
    {
      "key": "PORT",
      "service": "Auth Proxy",
      "description": "Provide a value for PORT.",
      "secret": false,
      "strategy": "default",
      "default": "80"
    },
    {
      "key": "API_KEY",
      "service": "Auth Proxy",
      "description": "Provide a value for API_KEY.",
      "secret": true,
      "strategy": "generate",
      "generate": "random_base64_32"
    },
    {
      "key": "TARGET_PORT",
      "service": "Auth Proxy",
      "description": "Provide a value for TARGET_PORT.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "TARGET_DOMAIN",
      "service": "Auth Proxy",
      "description": "Provide a value for TARGET_DOMAIN.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_private_domain"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "nomic-embed"
      }
    },
    "cli": "railway deploy --template nomic-embed",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "25674414-8e92-40da-a91c-40c0b64f0665",
            "serializedConfig": {
              "services": {
                "9c1f0f83-90fc-421a-8357-4256dea23fc7": {
                  "icon": "https://docs.nomic.ai/img/favicon.ico",
                  "name": "Nomic Embed Text",
                  "deploy": {
                    "startCommand": "/bin/sh -c \"ollama serve & pid=$!; sleep 5; ollama pull $MODEL; wait $pid\"",
                    "healthcheckPath": null
                  },
                  "source": {
                    "image": "ollama/ollama"
                  },
                  "variables": {
                    "PORT": {
                      "isOptional": false,
                      "defaultValue": "11434"
                    },
                    "MODEL": {
                      "isOptional": false,
                      "description": "Model from https://ollama.com/library",
                      "defaultValue": "nomic-embed-text:latest"
                    }
                  },
                  "volumeMounts": {
                    "9c1f0f83-90fc-421a-8357-4256dea23fc7": {
                      "mountPath": "/root/.ollama"
                    }
                  }
                },
                "f118ef9d-3037-4f1f-ba33-d1fd4ffa3abc": {
                  "icon": "https://img.icons8.com/?size=80&id=AZ2LjCeHqRan&format=png",
                  "name": "Auth Proxy",
                  "deploy": {
                    "startCommand": null,
                    "healthcheckPath": "/health"
                  },
                  "source": {
                    "repo": "https://github.com/FraglyG/CaddyAuthProxy",
                    "rootDirectory": null
                  },
                  "variables": {
                    "PORT": {
                      "isOptional": false,
                      "defaultValue": "80"
                    },
                    "API_KEY": {
                      "isOptional": false,
                      "defaultValue": "{{API_KEY}}"
                    },
                    "TARGET_PORT": {
                      "isOptional": false,
                      "defaultValue": "${{Nomic Embed Text.PORT}}"
                    },
                    "TARGET_DOMAIN": {
                      "isOptional": false,
                      "defaultValue": "${{Nomic Embed Text.RAILWAY_PRIVATE_DOMAIN}}"
                    }
                  },
                  "networking": {
                    "serviceDomains": {
                      "<hasDomain>": {}
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {
    "healthcheck": {
      "service": "Auth Proxy",
      "method": "GET",
      "path": "/health",
      "expect_status": 200
    }
  },
  "resources": {
    "expected_services": 2,
    "needs_volume": true
  },
  "generated_at": "2026-09-10T16:14:52.212Z",
  "generator_version": "0.1.0",
  "status": "validated",
  "validated_at": "2026-09-09T22:08:49.995Z",
  "success_rate_30d": 1,
  "validation": {
    "last_run_id": "run_de51b4fce6554d7aaf2a",
    "checks": [
      {
        "name": "workflow_completed",
        "passed": true
      },
      {
        "name": "all_services_deployed",
        "passed": true
      },
      {
        "name": "healthcheck",
        "passed": true
      },
      {
        "name": "stays_up",
        "passed": true
      }
    ],
    "typical_ready_seconds": 91,
    "typical_build_seconds": 10,
    "typical_start_seconds": 10,
    "slowest_service": "Auth Proxy"
  }
}
