{
  "manifest_version": "1.0.0",
  "template": {
    "id": "f30dc384-eae7-46ac-b6df-ebcbace6ec26",
    "slug": "perplexica-ai-search",
    "name": "Perplexica | Open Source Perplexity AI Alternative",
    "description": "Self-host Perplexica AI. AI-powered search engine with citations.",
    "url": "https://railway.com/deploy/perplexica-ai-search",
    "upstream": {
      "image": "itzcrazykns1337/vane:latest"
    }
  },
  "services": [
    {
      "name": "Perplexica",
      "source": {
        "image": "itzcrazykns1337/vane:latest"
      },
      "needs_volume": true,
      "volume_mount_path": "/home/vane/data",
      "http": true
    }
  ],
  "required_inputs": [
    {
      "key": "PORT",
      "service": "Perplexica",
      "description": "Next.js HTTP listening port",
      "secret": false,
      "strategy": "default",
      "default": "3000"
    },
    {
      "key": "HOSTNAME",
      "service": "Perplexica",
      "description": "Bind address for Next.js standalone",
      "secret": false,
      "strategy": "default",
      "default": "0.0.0.0"
    },
    {
      "key": "OPENAI_BASE_URL",
      "service": "Perplexica",
      "description": "Custom OpenAI-compatible endpoint",
      "secret": false,
      "strategy": "default",
      "default": "https://api.openai.com/v1"
    },
    {
      "key": "RAILWAY_RUN_UID",
      "service": "Perplexica",
      "description": "Run as root for volume permissions",
      "secret": false,
      "strategy": "default",
      "default": "0"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "perplexica-ai-search"
      }
    },
    "cli": "railway deploy --template perplexica-ai-search",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "f30dc384-eae7-46ac-b6df-ebcbace6ec26",
            "serializedConfig": {
              "buckets": {},
              "services": {
                "07c700ab-67de-4640-85b6-2e22a83c7da1": {
                  "icon": "https://perplexica.io/favicon.ico",
                  "name": "Perplexica",
                  "deploy": {
                    "startCommand": null,
                    "healthcheckPath": null,
                    "restartPolicyType": "ON_FAILURE",
                    "restartPolicyMaxRetries": 10
                  },
                  "source": {
                    "image": "itzcrazykns1337/vane:latest"
                  },
                  "variables": {
                    "PORT": {
                      "isOptional": false,
                      "description": "Next.js HTTP listening port",
                      "defaultValue": "3000"
                    },
                    "HOSTNAME": {
                      "isOptional": false,
                      "description": "Bind address for Next.js standalone",
                      "defaultValue": "0.0.0.0"
                    },
                    "GROQ_API_KEY": {
                      "isOptional": true,
                      "description": "Optional — Groq API key",
                      "defaultValue": ""
                    },
                    "GEMINI_API_KEY": {
                      "isOptional": true,
                      "description": "Optional — Google Gemini API key",
                      "defaultValue": ""
                    },
                    "OPENAI_API_KEY": {
                      "isOptional": true,
                      "description": "Optional — OpenAI provider API key",
                      "defaultValue": ""
                    },
                    "OLLAMA_BASE_URL": {
                      "isOptional": true,
                      "description": "Optional — external Ollama endpoint URL",
                      "defaultValue": ""
                    },
                    "OPENAI_BASE_URL": {
                      "description": "Custom OpenAI-compatible endpoint",
                      "defaultValue": "https://api.openai.com/v1"
                    },
                    "RAILWAY_RUN_UID": {
                      "isOptional": false,
                      "description": "Run as root for volume permissions",
                      "defaultValue": "0"
                    },
                    "LEMONADE_API_KEY": {
                      "isOptional": true,
                      "description": "Optional — Lemonade API key",
                      "defaultValue": ""
                    },
                    "ANTHROPIC_API_KEY": {
                      "isOptional": true,
                      "description": "Optional — Anthropic Claude API key",
                      "defaultValue": ""
                    },
                    "LEMONADE_BASE_URL": {
                      "isOptional": true,
                      "description": "Optional — Lemonade provider URL",
                      "defaultValue": ""
                    },
                    "LM_STUDIO_BASE_URL": {
                      "isOptional": true,
                      "description": "Optional — LM Studio endpoint URL",
                      "defaultValue": ""
                    }
                  },
                  "networking": {
                    "serviceDomains": {
                      "<hasDomain>": {}
                    }
                  },
                  "volumeMounts": {
                    "07c700ab-67de-4640-85b6-2e22a83c7da1": {
                      "mountPath": "/home/vane/data"
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {},
  "resources": {
    "expected_services": 1,
    "needs_volume": true
  },
  "generated_at": "2026-09-21T16:15:12.787Z",
  "generator_version": "0.1.0",
  "status": "validated",
  "validated_at": "2026-09-20T13:14:53.756Z",
  "success_rate_30d": 1,
  "validation": {
    "last_run_id": "run_2138661051ff4caa882d",
    "checks": [
      {
        "name": "workflow_completed",
        "passed": true
      },
      {
        "name": "all_services_deployed",
        "passed": true
      },
      {
        "name": "stays_up",
        "passed": true
      }
    ],
    "typical_ready_seconds": 144,
    "typical_build_seconds": 0,
    "typical_start_seconds": 51,
    "slowest_service": "Perplexica"
  }
}
