{
  "manifest_version": "1.0.0",
  "template": {
    "id": "cc12d97a-cd0a-4943-b4a2-ae71d9072b05",
    "slug": "c7nLmV",
    "name": "Milvus",
    "description": "Authenticated Milvus v2.6 REST API with etcd and MinIO.",
    "url": "https://railway.com/deploy/c7nLmV",
    "upstream": {
      "image": "ghcr.io/monotykamary/grpc-reverse-proxy:v2.11.4-r3@sha256:9b2f53b986dbb773043ca1fef5de79ca8cb73925e31a5ee80848397d9ede7a4f"
    }
  },
  "services": [
    {
      "name": "milvus-rest-proxy",
      "source": {
        "image": "ghcr.io/monotykamary/grpc-reverse-proxy:v2.11.4-r3@sha256:9b2f53b986dbb773043ca1fef5de79ca8cb73925e31a5ee80848397d9ede7a4f"
      },
      "needs_volume": false,
      "http": true
    },
    {
      "name": "minio",
      "source": {
        "image": "quay.io/minio/minio:RELEASE.2025-09-07T16-13-09Z@sha256:14cea493d9a34af32f524e538b8346cf79f3321eff8e708c1e2960462bd8936e"
      },
      "needs_volume": true,
      "volume_mount_path": "/minio_data",
      "http": false
    },
    {
      "name": "etcd",
      "source": {
        "image": "quay.io/coreos/etcd:v3.6.14@sha256:dfd3941bf6ced5fdb700f9b2d98b22b7bca7ceee13aec16224f93ff30d9a59c4"
      },
      "needs_volume": true,
      "volume_mount_path": "/etcd",
      "http": false
    },
    {
      "name": "standalone",
      "source": {
        "image": "milvusdb/milvus:v2.6.24@sha256:c55810ca95c97437cc003f913b835524600fb95a14ce04955a92517c3ccab73f"
      },
      "needs_volume": true,
      "volume_mount_path": "/var/lib/milvus",
      "http": false
    }
  ],
  "required_inputs": [
    {
      "key": "PORT",
      "service": "milvus-rest-proxy",
      "description": "Internal Caddy REST proxy port.",
      "secret": false,
      "strategy": "default",
      "default": "8080"
    },
    {
      "key": "SERVICE_URL",
      "service": "milvus-rest-proxy",
      "description": "Private Milvus HTTP/gRPC endpoint used for REST forwarding.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_private_domain"
    },
    {
      "key": "PORT",
      "service": "minio",
      "description": "Private MinIO API and health port.",
      "secret": false,
      "strategy": "default",
      "default": "9000"
    },
    {
      "key": "MINIO_ROOT_USER",
      "service": "minio",
      "description": "Generated MinIO access key.",
      "secret": false,
      "strategy": "generate",
      "generate": "random_base64_32"
    },
    {
      "key": "MINIO_ROOT_PASSWORD",
      "service": "minio",
      "description": "Generated MinIO secret key.",
      "secret": true,
      "strategy": "generate",
      "generate": "strong_password"
    },
    {
      "key": "PORT",
      "service": "etcd",
      "description": "Private etcd API and health port.",
      "secret": false,
      "strategy": "default",
      "default": "2379"
    },
    {
      "key": "ETCD_SNAPSHOT_COUNT",
      "service": "etcd",
      "description": "Number of etcd transactions after which a snapshot of the data is taken.",
      "secret": false,
      "strategy": "default",
      "default": "50000"
    },
    {
      "key": "ETCD_QUOTA_BACKEND_BYTES",
      "service": "etcd",
      "description": "Maximum size (in bytes) of the etcd database; 4GB in this case.",
      "secret": false,
      "strategy": "default",
      "default": "4294967296"
    },
    {
      "key": "ETCD_AUTO_COMPACTION_MODE",
      "service": "etcd",
      "description": "Etcd auto-compaction mode, set to 'revision' to compact based on historical revisions.",
      "secret": false,
      "strategy": "default",
      "default": "revision"
    },
    {
      "key": "ETCD_AUTO_COMPACTION_RETENTION",
      "service": "etcd",
      "description": "Number of historical revisions to retain when auto-compaction mode is 'revision'.",
      "secret": false,
      "strategy": "default",
      "default": "1000"
    },
    {
      "key": "PORT",
      "service": "standalone",
      "description": "Private Milvus health port.",
      "secret": false,
      "strategy": "default",
      "default": "9091"
    },
    {
      "key": "MINIO_REGION",
      "service": "standalone",
      "description": "MinIO S3 region.",
      "secret": false,
      "strategy": "default",
      "default": "us-east-1"
    },
    {
      "key": "MINIO_ADDRESS",
      "service": "standalone",
      "description": "Private MinIO endpoint.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_private_domain"
    },
    {
      "key": "MINIO_USE_SSL",
      "service": "standalone",
      "description": "Use Railway private HTTP for MinIO.",
      "secret": false,
      "strategy": "default",
      "default": "false"
    },
    {
      "key": "ETCD_ENDPOINTS",
      "service": "standalone",
      "description": "Private etcd endpoint.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_private_domain"
    },
    {
      "key": "MINIO_ACCESS_KEY_ID",
      "service": "standalone",
      "description": "MinIO access key reference.",
      "secret": true,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "MINIO_SECRET_ACCESS_KEY",
      "service": "standalone",
      "description": "MinIO secret key reference.",
      "secret": true,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "COMMON_SECURITY_DEFAULTROOTPASSWORD",
      "service": "standalone",
      "description": "Generated password for the Milvus root user.",
      "secret": true,
      "strategy": "generate",
      "generate": "strong_password"
    },
    {
      "key": "COMMON_SECURITY_AUTHORIZATIONENABLED",
      "service": "standalone",
      "description": "Require credentials for Milvus API requests.",
      "secret": false,
      "strategy": "default",
      "default": "true"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "c7nLmV"
      }
    },
    "cli": "railway deploy --template c7nLmV",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "cc12d97a-cd0a-4943-b4a2-ae71d9072b05",
            "serializedConfig": {
              "services": {
                "070b3cdc-17b0-4191-85d7-7e747187b968": {
                  "icon": "https://grpc.io/img/logos/grpc-icon-color.png",
                  "name": "milvus-rest-proxy",
                  "deploy": {
                    "healthcheckPath": "/health",
                    "restartPolicyType": "ON_FAILURE",
                    "healthcheckTimeout": 60,
                    "restartPolicyMaxRetries": 10
                  },
                  "source": {
                    "image": "ghcr.io/monotykamary/grpc-reverse-proxy:v2.11.4-r3@sha256:9b2f53b986dbb773043ca1fef5de79ca8cb73925e31a5ee80848397d9ede7a4f"
                  },
                  "variables": {
                    "PORT": {
                      "isOptional": false,
                      "description": "Internal Caddy REST proxy port.",
                      "defaultValue": "8080"
                    },
                    "SERVICE_URL": {
                      "isOptional": false,
                      "description": "Private Milvus HTTP/gRPC endpoint used for REST forwarding.",
                      "defaultValue": "${{standalone.RAILWAY_PRIVATE_DOMAIN}}:19530"
                    }
                  },
                  "networking": {
                    "serviceDomains": {
                      "<hasDomain>": {}
                    }
                  }
                },
                "21fbaddc-aa15-4b5e-9d3a-255b2d8755f3": {
                  "icon": "https://raw.githubusercontent.com/homarr-labs/dashboard-icons/8bde504767d6114a366bec8886b86a96b641b4cf/svg/minio-light.svg",
                  "name": "minio",
                  "deploy": {
                    "startCommand": "minio server /minio_data --console-address \":9001\"",
                    "healthcheckPath": "/minio/health/live",
                    "restartPolicyType": "ON_FAILURE",
                    "healthcheckTimeout": 300,
                    "restartPolicyMaxRetries": 10
                  },
                  "source": {
                    "image": "quay.io/minio/minio:RELEASE.2025-09-07T16-13-09Z@sha256:14cea493d9a34af32f524e538b8346cf79f3321eff8e708c1e2960462bd8936e"
                  },
                  "variables": {
                    "PORT": {
                      "isOptional": false,
                      "description": "Private MinIO API and health port.",
                      "defaultValue": "9000"
                    },
                    "MINIO_ROOT_USER": {
                      "isOptional": false,
                      "description": "Generated MinIO access key.",
                      "defaultValue": "{{MINIO_ROOT_USER}}"
                    },
                    "MINIO_ROOT_PASSWORD": {
                      "isOptional": false,
                      "description": "Generated MinIO secret key.",
                      "defaultValue": "{{MINIO_ROOT_PASSWORD}}"
                    }
                  },
                  "networking": {},
                  "volumeMounts": {
                    "21fbaddc-aa15-4b5e-9d3a-255b2d8755f3": {
                      "mountPath": "/minio_data"
                    }
                  }
                },
                "879fbd71-9102-4f54-ab9b-1e071f36aa83": {
                  "icon": "https://upload.wikimedia.org/wikipedia/labs/5/53/Etcd_logo.png",
                  "name": "etcd",
                  "deploy": {
                    "startCommand": "etcd -advertise-client-urls=http://etcd.railway.internal:2379 -listen-client-urls http://0.0.0.0:2379 --data-dir /etcd",
                    "healthcheckPath": "/health",
                    "restartPolicyType": "ON_FAILURE",
                    "healthcheckTimeout": 300,
                    "restartPolicyMaxRetries": 10
                  },
                  "source": {
                    "image": "quay.io/coreos/etcd:v3.6.14@sha256:dfd3941bf6ced5fdb700f9b2d98b22b7bca7ceee13aec16224f93ff30d9a59c4"
                  },
                  "variables": {
                    "PORT": {
                      "isOptional": false,
                      "description": "Private etcd API and health port.",
                      "defaultValue": "2379"
                    },
                    "ETCD_SNAPSHOT_COUNT": {
                      "isOptional": false,
                      "description": "Number of etcd transactions after which a snapshot of the data is taken.",
                      "defaultValue": "50000"
                    },
                    "ETCD_QUOTA_BACKEND_BYTES": {
                      "isOptional": false,
                      "description": "Maximum size (in bytes) of the etcd database; 4GB in this case.",
                      "defaultValue": "4294967296"
                    },
                    "ETCD_AUTO_COMPACTION_MODE": {
                      "isOptional": false,
                      "description": "Etcd auto-compaction mode, set to 'revision' to compact based on historical revisions.",
                      "defaultValue": "revision"
                    },
                    "ETCD_AUTO_COMPACTION_RETENTION": {
                      "isOptional": false,
                      "description": "Number of historical revisions to retain when auto-compaction mode is 'revision'.",
                      "defaultValue": "1000"
                    }
                  },
                  "networking": {},
                  "volumeMounts": {
                    "879fbd71-9102-4f54-ab9b-1e071f36aa83": {
                      "mountPath": "/etcd"
                    }
                  }
                },
                "febda8bc-390b-4ed0-9f9c-309f90fb6095": {
                  "icon": "https://raw.githubusercontent.com/milvus-io/milvus.io/9c555279797e0a08a08fe8d5fa27be4ad1e0e267/public/images/favicon.png",
                  "name": "standalone",
                  "deploy": {
                    "startCommand": "milvus run standalone",
                    "healthcheckPath": "/healthz",
                    "restartPolicyType": "ON_FAILURE",
                    "healthcheckTimeout": 600,
                    "restartPolicyMaxRetries": 10
                  },
                  "source": {
                    "image": "milvusdb/milvus:v2.6.24@sha256:c55810ca95c97437cc003f913b835524600fb95a14ce04955a92517c3ccab73f"
                  },
                  "variables": {
                    "PORT": {
                      "isOptional": false,
                      "description": "Private Milvus health port.",
                      "defaultValue": "9091"
                    },
                    "MINIO_REGION": {
                      "isOptional": false,
                      "description": "MinIO S3 region.",
                      "defaultValue": "us-east-1"
                    },
                    "MINIO_ADDRESS": {
                      "isOptional": false,
                      "description": "Private MinIO endpoint.",
                      "defaultValue": "${{minio.RAILWAY_PRIVATE_DOMAIN}}:9000"
                    },
                    "MINIO_USE_SSL": {
                      "isOptional": false,
                      "description": "Use Railway private HTTP for MinIO.",
                      "defaultValue": "false"
                    },
                    "ETCD_ENDPOINTS": {
                      "isOptional": false,
                      "description": "Private etcd endpoint.",
                      "defaultValue": "${{etcd.RAILWAY_PRIVATE_DOMAIN}}:2379"
                    },
                    "MINIO_ACCESS_KEY_ID": {
                      "isOptional": false,
                      "description": "MinIO access key reference.",
                      "defaultValue": "${{minio.MINIO_ROOT_USER}}"
                    },
                    "MINIO_SECRET_ACCESS_KEY": {
                      "isOptional": false,
                      "description": "MinIO secret key reference.",
                      "defaultValue": "${{minio.MINIO_ROOT_PASSWORD}}"
                    },
                    "COMMON_SECURITY_DEFAULTROOTPASSWORD": {
                      "isOptional": false,
                      "description": "Generated password for the Milvus root user.",
                      "defaultValue": "{{COMMON_SECURITY_DEFAULTROOTPASSWORD}}"
                    },
                    "COMMON_SECURITY_AUTHORIZATIONENABLED": {
                      "isOptional": false,
                      "description": "Require credentials for Milvus API requests.",
                      "defaultValue": "true"
                    }
                  },
                  "networking": {},
                  "volumeMounts": {
                    "febda8bc-390b-4ed0-9f9c-309f90fb6095": {
                      "mountPath": "/var/lib/milvus"
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {
    "healthcheck": {
      "service": "milvus-rest-proxy",
      "method": "GET",
      "path": "/health",
      "expect_status": 200
    }
  },
  "resources": {
    "expected_services": 4,
    "needs_volume": true
  },
  "generated_at": "2026-09-21T22:14:44.200Z",
  "generator_version": "0.1.0",
  "status": "validated",
  "validated_at": "2026-09-21T07:20:02.093Z",
  "success_rate_30d": 0.3333,
  "validation": {
    "last_run_id": "run_fd5c73539ee14c4f8233",
    "checks": [
      {
        "name": "workflow_completed",
        "passed": true
      },
      {
        "name": "all_services_deployed",
        "passed": true
      },
      {
        "name": "healthcheck",
        "passed": true
      },
      {
        "name": "stays_up",
        "passed": true
      }
    ],
    "typical_ready_seconds": 100,
    "typical_build_seconds": 0,
    "typical_start_seconds": 5,
    "slowest_service": "milvus-rest-proxy"
  }
}
