{
  "manifest_version": "1.0.0",
  "template": {
    "id": "f1e68f2f-4d55-4f79-bf61-e27cfc91d5f4",
    "slug": "meilisearch-flexible-version",
    "name": "Meilisearch (Flexible version)",
    "description": "Meilisearch is a fast, AI-powered, user-focused search engine.",
    "url": "https://railway.com/deploy/meilisearch-flexible-version",
    "upstream": {
      "repo_url": "https://github.com/protemplate/meilisearch-railway"
    }
  },
  "services": [
    {
      "name": "Meilisearch",
      "source": {
        "repo": "https://github.com/protemplate/meilisearch-railway"
      },
      "needs_volume": true,
      "volume_mount_path": "/meili_data",
      "http": true
    }
  ],
  "required_inputs": [
    {
      "key": "MEILI_ENV",
      "service": "Meilisearch",
      "description": "Environment. Defaults to `production`. Refer to [Meilisearch Docs -> Configure -> Environment for more info.](https://www.meilisearch.com/docs/learn/self_hosted/configure_meilisearch_at_launch#environment)",
      "secret": false,
      "strategy": "default",
      "default": "production"
    },
    {
      "key": "MEILI_DB_PATH",
      "service": "Meilisearch",
      "description": "Path to Meilisearch's on-disk database. Defaults to `/meili_data/data.ms`. Refer to [Meilisearch Docs -> Configure -> Database path](https://www.meilisearch.com/docs/learn/self_hosted/configure_meilisearch_at_launch#database-path) for more info.",
      "secret": false,
      "strategy": "default",
      "default": "/meili_data/data.ms"
    },
    {
      "key": "MEILI_LOG_LEVEL",
      "service": "Meilisearch",
      "description": "Defines how much detail should be present in Meilisearch’s logs. Defaults to `INFO`. Refer to [Meilisearch Docs -> Configure -> Log level](https://www.meilisearch.com/docs/learn/self_hosted/configure_meilisearch_at_launch#log-level)",
      "secret": false,
      "strategy": "default",
      "default": "INFO"
    },
    {
      "key": "MEILI_MASTER_KEY",
      "service": "Meilisearch",
      "description": "Master key that you will use to access the instance. Defaults to a randomly-generated strong secret. Keep this secure! Refer to [Meilisearch Docs -> Security -> Master API Key](https://www.meilisearch.com/docs/learn/self_hosted/configure_meilisearch_at_launch#master-key) for more info.",
      "secret": true,
      "strategy": "generate",
      "generate": "random_base64_32"
    },
    {
      "key": "MEILISEARCH_VERSION",
      "service": "Meilisearch",
      "description": "**Meilisearch Version Selection**  Choose your preferred Meilisearch version for deployment. You can select any available version (e.g. `latest`, `v1.15`) by checking the [Docker Hub tags](https://hub.docker.com/r/getmeili/meilisearch/tags).  **Important:** We strongly recommend specifying an exact version number rather than using `latest`, as recommended in the [official Meilisearch documentation](https://www.meilisearch.com/docs/guides/docker#download-meilisearch-with-docker). This ensures consistent, predictable deployments.",
      "secret": false,
      "strategy": "default",
      "default": "latest"
    },
    {
      "key": "MEILI_MAX_INDEXING_MEMORY",
      "service": "Meilisearch",
      "description": "Provide a value for MEILI_MAX_INDEXING_MEMORY.",
      "secret": false,
      "strategy": "default",
      "default": "900Mb"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "meilisearch-flexible-version"
      }
    },
    "cli": "railway deploy --template meilisearch-flexible-version",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "f1e68f2f-4d55-4f79-bf61-e27cfc91d5f4",
            "serializedConfig": {
              "services": {
                "7d375b42-1197-44f6-a57c-83d8f7fd4a5a": {
                  "icon": "https://somi-public-assets.s3.ap-southeast-1.amazonaws.com/railway/meilisearch-logo.png",
                  "name": "Meilisearch",
                  "source": {
                    "repo": "protemplate/meilisearch-railway",
                    "branch": null,
                    "rootDirectory": null
                  },
                  "variables": {
                    "MEILI_ENV": {
                      "description": "Environment. Defaults to `production`. Refer to [Meilisearch Docs -> Configure -> Environment for more info.](https://www.meilisearch.com/docs/learn/self_hosted/configure_meilisearch_at_launch#environment)",
                      "defaultValue": "production"
                    },
                    "MEILI_DB_PATH": {
                      "description": "Path to Meilisearch's on-disk database. Defaults to `/meili_data/data.ms`. Refer to [Meilisearch Docs -> Configure -> Database path](https://www.meilisearch.com/docs/learn/self_hosted/configure_meilisearch_at_launch#database-path) for more info.",
                      "defaultValue": "/meili_data/data.ms"
                    },
                    "MEILI_LOG_LEVEL": {
                      "description": "Defines how much detail should be present in Meilisearch’s logs. Defaults to `INFO`. Refer to [Meilisearch Docs -> Configure -> Log level](https://www.meilisearch.com/docs/learn/self_hosted/configure_meilisearch_at_launch#log-level)",
                      "defaultValue": "INFO"
                    },
                    "MEILI_MASTER_KEY": {
                      "description": "Master key that you will use to access the instance. Defaults to a randomly-generated strong secret. Keep this secure! Refer to [Meilisearch Docs -> Security -> Master API Key](https://www.meilisearch.com/docs/learn/self_hosted/configure_meilisearch_at_launch#master-key) for more info.",
                      "defaultValue": "{{MEILI_MASTER_KEY}}"
                    },
                    "MEILISEARCH_VERSION": {
                      "description": "**Meilisearch Version Selection**  Choose your preferred Meilisearch version for deployment. You can select any available version (e.g. `latest`, `v1.15`) by checking the [Docker Hub tags](https://hub.docker.com/r/getmeili/meilisearch/tags).  **Important:** We strongly recommend specifying an exact version number rather than using `latest`, as recommended in the [official Meilisearch documentation](https://www.meilisearch.com/docs/guides/docker#download-meilisearch-with-docker). This ensures consistent, predictable deployments.",
                      "defaultValue": "latest"
                    },
                    "MEILI_MAX_INDEXING_MEMORY": {
                      "isOptional": false,
                      "description": "",
                      "defaultValue": "900Mb"
                    }
                  },
                  "networking": {
                    "serviceDomains": {
                      "<hasDomain>": {}
                    }
                  },
                  "volumeMounts": {
                    "7d375b42-1197-44f6-a57c-83d8f7fd4a5a": {
                      "mountPath": "/meili_data"
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {},
  "resources": {
    "expected_services": 1,
    "needs_volume": true
  },
  "generated_at": "2026-09-21T04:14:46.774Z",
  "generator_version": "0.1.0",
  "status": "validated",
  "validated_at": "2026-09-21T05:42:51.566Z",
  "success_rate_30d": 0.8333,
  "validation": {
    "last_run_id": "run_ac627cd8b0814a00a648",
    "checks": [
      {
        "name": "workflow_completed",
        "passed": true
      },
      {
        "name": "all_services_deployed",
        "passed": true
      },
      {
        "name": "stays_up",
        "passed": true
      }
    ],
    "typical_ready_seconds": 102,
    "typical_build_seconds": 21,
    "typical_start_seconds": 10,
    "slowest_service": "Meilisearch"
  }
}
