{
  "manifest_version": "1.0.0",
  "template": {
    "id": "19d5d783-0649-432a-9f2a-7e7cce33f2ae",
    "slug": "sonic-1",
    "name": "Sonic",
    "description": "Indexes search text and object identifiers, Elasticsearch alternative",
    "url": "https://railway.com/deploy/sonic-1",
    "upstream": {
      "repo_url": "https://github.com/feliperosenek/sonic-railway"
    }
  },
  "services": [
    {
      "name": "sonic",
      "source": {
        "repo": "https://github.com/feliperosenek/sonic-railway"
      },
      "needs_volume": true,
      "volume_mount_path": "/var/lib/sonic/store",
      "http": false
    }
  ],
  "required_inputs": [
    {
      "key": "SONIC_AUTH_PASSWORD",
      "service": "sonic",
      "description": "Auth Pass",
      "secret": true,
      "strategy": "generate",
      "generate": "strong_password"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "sonic-1"
      }
    },
    "cli": "railway deploy --template sonic-1",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "19d5d783-0649-432a-9f2a-7e7cce33f2ae",
            "serializedConfig": {
              "buckets": {},
              "services": {
                "5aa83f15-4993-4e02-a86c-14c16835f6ab": {
                  "icon": "https://www.svgrepo.com/show/396635/hedgehog.svg",
                  "name": "sonic",
                  "deploy": {
                    "startCommand": null,
                    "healthcheckPath": null,
                    "restartPolicyType": "ON_FAILURE",
                    "restartPolicyMaxRetries": 10
                  },
                  "source": {
                    "repo": "https://github.com/feliperosenek/sonic-railway",
                    "rootDirectory": null
                  },
                  "variables": {
                    "SONIC_AUTH_PASSWORD": {
                      "isOptional": false,
                      "description": "Auth Pass",
                      "defaultValue": "{{SONIC_AUTH_PASSWORD}}"
                    }
                  },
                  "volumeMounts": {
                    "5aa83f15-4993-4e02-a86c-14c16835f6ab": {
                      "mountPath": "/var/lib/sonic/store"
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {},
  "resources": {
    "expected_services": 1,
    "needs_volume": true
  },
  "generated_at": "2026-09-20T16:14:49.616Z",
  "generator_version": "0.1.0",
  "status": "validated",
  "validated_at": "2026-09-20T10:41:52.284Z",
  "success_rate_30d": 1,
  "validation": {
    "last_run_id": "run_62b2ff0d2e6f451f89dd",
    "checks": [
      {
        "name": "workflow_completed",
        "passed": true
      },
      {
        "name": "all_services_deployed",
        "passed": true
      },
      {
        "name": "stays_up",
        "passed": true
      }
    ],
    "typical_ready_seconds": 107,
    "typical_build_seconds": 30,
    "typical_start_seconds": 0,
    "slowest_service": "sonic"
  }
}
