{
  "manifest_version": "1.0.0",
  "template": {
    "id": "da313830-e034-42ca-9b81-2823b29abbb6",
    "slug": "meilisearch-2",
    "name": "Meilisearch",
    "description": "Meilisearch is a flexible and powerful user-focused search engine.",
    "url": "https://railway.com/deploy/meilisearch-2",
    "upstream": {
      "image": "getmeili/meilisearch:v1.42.1"
    }
  },
  "services": [
    {
      "name": "meilisearch",
      "source": {
        "image": "getmeili/meilisearch:v1.42.1"
      },
      "needs_volume": true,
      "volume_mount_path": "/meili_data",
      "http": true
    }
  ],
  "required_inputs": [
    {
      "key": "PORT",
      "service": "meilisearch",
      "description": "The Railway port to expose the instance on.",
      "secret": false,
      "strategy": "default",
      "default": "3331"
    },
    {
      "key": "MEILI_ENV",
      "service": "meilisearch",
      "description": "Configures the instance’s environment. Value must be either `production` or `development`.",
      "secret": false,
      "strategy": "default",
      "default": "production"
    },
    {
      "key": "MEILI_DB_PATH",
      "service": "meilisearch",
      "description": "Designates the location where database files will be created and retrieved.",
      "secret": false,
      "strategy": "default",
      "default": "/meili_data/data.ms"
    },
    {
      "key": "MEILI_HTTP_ADDR",
      "service": "meilisearch",
      "description": "Sets the HTTP address and port Meilisearch will use.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "MEILI_LOG_LEVEL",
      "service": "meilisearch",
      "description": "Defines how much detail should be present in Meilisearch’s logs.",
      "secret": false,
      "strategy": "default",
      "default": "INFO"
    },
    {
      "key": "MEILI_MASTER_KEY",
      "service": "meilisearch",
      "description": "The master key grants full control over your Meilisearch instance. It is the only key with access to endpoints for creating and deleting API keys by default.",
      "secret": true,
      "strategy": "generate",
      "generate": "random_base64_32"
    },
    {
      "key": "MEILI_NO_ANALYTICS",
      "service": "meilisearch",
      "description": "Deactivates Meilisearch’s built-in telemetry when provided.",
      "secret": false,
      "strategy": "default",
      "default": "true"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "meilisearch-2"
      }
    },
    "cli": "railway deploy --template meilisearch-2",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "da313830-e034-42ca-9b81-2823b29abbb6",
            "serializedConfig": {
              "services": {
                "efda3051-03e0-447b-bdd6-5890676be76a": {
                  "icon": "https://mintlify.s3-us-west-1.amazonaws.com/meilisearch-6b28dec2/_generated/favicon/apple-touch-icon.png",
                  "name": "meilisearch",
                  "deploy": {
                    "healthcheckPath": "/health"
                  },
                  "source": {
                    "image": "getmeili/meilisearch:v1.42.1"
                  },
                  "variables": {
                    "PORT": {
                      "isOptional": false,
                      "description": "The Railway port to expose the instance on.",
                      "defaultValue": "3331"
                    },
                    "MEILI_ENV": {
                      "isOptional": false,
                      "description": "Configures the instance’s environment. Value must be either `production` or `development`.",
                      "defaultValue": "production"
                    },
                    "MEILI_DB_PATH": {
                      "isOptional": false,
                      "description": "Designates the location where database files will be created and retrieved.",
                      "defaultValue": "/meili_data/data.ms"
                    },
                    "MEILI_HTTP_ADDR": {
                      "isOptional": false,
                      "description": "Sets the HTTP address and port Meilisearch will use.",
                      "defaultValue": ":::${{PORT}}"
                    },
                    "MEILI_LOG_LEVEL": {
                      "isOptional": false,
                      "description": "Defines how much detail should be present in Meilisearch’s logs.",
                      "defaultValue": "INFO"
                    },
                    "MEILI_MASTER_KEY": {
                      "isOptional": false,
                      "description": "The master key grants full control over your Meilisearch instance. It is the only key with access to endpoints for creating and deleting API keys by default.",
                      "defaultValue": "{{MEILI_MASTER_KEY}}"
                    },
                    "MEILI_NO_ANALYTICS": {
                      "isOptional": false,
                      "description": "Deactivates Meilisearch’s built-in telemetry when provided.",
                      "defaultValue": "true"
                    }
                  },
                  "networking": {
                    "serviceDomains": {
                      "<hasDomain>:3331": {
                        "port": 3331
                      }
                    }
                  },
                  "volumeMounts": {
                    "efda3051-03e0-447b-bdd6-5890676be76a": {
                      "mountPath": "/meili_data"
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {
    "healthcheck": {
      "service": "meilisearch",
      "method": "GET",
      "path": "/health",
      "expect_status": 200
    }
  },
  "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-20T13:01:27.173Z",
  "success_rate_30d": 1,
  "validation": {
    "last_run_id": "run_057648ee49834e8fa7bb",
    "checks": [
      {
        "name": "workflow_completed",
        "passed": true
      },
      {
        "name": "all_services_deployed",
        "passed": true
      },
      {
        "name": "healthcheck",
        "passed": true
      },
      {
        "name": "stays_up",
        "passed": true
      }
    ],
    "typical_ready_seconds": 52,
    "typical_build_seconds": 0,
    "typical_start_seconds": 0,
    "slowest_service": "meilisearch"
  }
}
