{
  "manifest_version": "1.0.0",
  "template": {
    "id": "a3db8b1b-28b9-489a-b58d-8c6d50b33c28",
    "slug": "meilisearch-3",
    "name": "meilisearch [Updated Sep'26]",
    "description": "Meilisearch [Sep '26] (Lightning-Fast Open Source Search Engine) Self Host",
    "url": "https://railway.com/deploy/meilisearch-3",
    "upstream": {
      "image": "getmeili/meilisearch:v1.53.1"
    }
  },
  "services": [
    {
      "name": "meilisearch",
      "source": {
        "image": "getmeili/meilisearch:v1.53.1"
      },
      "needs_volume": true,
      "volume_mount_path": "/meili_data",
      "http": true
    }
  ],
  "required_inputs": [
    {
      "key": "PORT",
      "service": "meilisearch",
      "description": "The Railway-facing port. Deliberately non-default (Meilisearch's own default is 7700) to avoid colliding with Railway's auto-injected PORT=8080 fallback — confirmed via the reference template's own live config, which uses this exact same non-default value.",
      "secret": false,
      "strategy": "default",
      "default": "3331"
    },
    {
      "key": "MEILI_ENV",
      "service": "meilisearch",
      "description": "Runtime mode. production requires MEILI_MASTER_KEY to be set and disables the interactive web UI; development is more permissive and intended for local testing only.",
      "secret": false,
      "strategy": "default",
      "default": "production"
    },
    {
      "key": "MEILI_DB_PATH",
      "service": "meilisearch",
      "description": "Path to Meilisearch's on-disk index database. Must live under the mounted volume path (/meili_data) — anything outside it is wiped on every redeploy.",
      "secret": false,
      "strategy": "default",
      "default": "/meili_data/data.ms"
    },
    {
      "key": "MEILI_HTTP_ADDR",
      "service": "meilisearch",
      "description": "Must match the PORT variable below. Binds Meilisearch to all interfaces on port 3331. Railway auto-injects PORT=8080 if this project's own PORT variable is ever removed — if you change the port, update both this and PORT together or the service will silently listen on the wrong port.",
      "secret": false,
      "strategy": "default",
      "default": ":::3331"
    },
    {
      "key": "MEILI_MASTER_KEY",
      "service": "meilisearch",
      "description": "Master API key used to authenticate every request to this instance. Auto-generated per deployment — copy it from the Variables tab after deploy to use in your client SDK. Never leave this unset in production; without it Meilisearch runs in a permissive dev mode.",
      "secret": true,
      "strategy": "generate",
      "generate": "random_base64_32"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "meilisearch-3"
      }
    },
    "cli": "railway deploy --template meilisearch-3",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "a3db8b1b-28b9-489a-b58d-8c6d50b33c28",
            "serializedConfig": {
              "buckets": {},
              "services": {
                "3c37abb0-5d2c-4bd6-97cb-0c115020c444": {
                  "icon": "https://cdn.jsdelivr.net/gh/homarr-labs/dashboard-icons/svg/meilisearch.svg",
                  "name": "meilisearch",
                  "deploy": {
                    "startCommand": null,
                    "healthcheckPath": null,
                    "restartPolicyType": "ON_FAILURE",
                    "restartPolicyMaxRetries": 10
                  },
                  "source": {
                    "image": "getmeili/meilisearch:v1.53.1"
                  },
                  "variables": {
                    "PORT": {
                      "isOptional": false,
                      "description": "The Railway-facing port. Deliberately non-default (Meilisearch's own default is 7700) to avoid colliding with Railway's auto-injected PORT=8080 fallback — confirmed via the reference template's own live config, which uses this exact same non-default value.",
                      "defaultValue": "3331"
                    },
                    "MEILI_ENV": {
                      "isOptional": false,
                      "description": "Runtime mode. production requires MEILI_MASTER_KEY to be set and disables the interactive web UI; development is more permissive and intended for local testing only.",
                      "defaultValue": "production"
                    },
                    "MEILI_DB_PATH": {
                      "isOptional": false,
                      "description": "Path to Meilisearch's on-disk index database. Must live under the mounted volume path (/meili_data) — anything outside it is wiped on every redeploy.",
                      "defaultValue": "/meili_data/data.ms"
                    },
                    "MEILI_HTTP_ADDR": {
                      "isOptional": false,
                      "description": "Must match the PORT variable below. Binds Meilisearch to all interfaces on port 3331. Railway auto-injects PORT=8080 if this project's own PORT variable is ever removed — if you change the port, update both this and PORT together or the service will silently listen on the wrong port.",
                      "defaultValue": ":::3331"
                    },
                    "MEILI_MASTER_KEY": {
                      "isOptional": false,
                      "description": "Master API key used to authenticate every request to this instance. Auto-generated per deployment — copy it from the Variables tab after deploy to use in your client SDK. Never leave this unset in production; without it Meilisearch runs in a permissive dev mode.",
                      "defaultValue": "{{MEILI_MASTER_KEY}}"
                    }
                  },
                  "networking": {
                    "serviceDomains": {
                      "<hasDomain>": {}
                    }
                  },
                  "volumeMounts": {
                    "3c37abb0-5d2c-4bd6-97cb-0c115020c444": {
                      "mountPath": "/meili_data"
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {},
  "resources": {
    "expected_services": 1,
    "needs_volume": true
  },
  "generated_at": "2026-09-22T22:14:50.114Z",
  "generator_version": "0.1.0",
  "status": "validated",
  "validated_at": "2026-09-21T19:32:06.508Z",
  "success_rate_30d": 1,
  "validation": {
    "last_run_id": "run_d556ceac4f7442bf8a50",
    "checks": [
      {
        "name": "workflow_completed",
        "passed": true
      },
      {
        "name": "all_services_deployed",
        "passed": true
      },
      {
        "name": "stays_up",
        "passed": true
      }
    ],
    "typical_ready_seconds": 42,
    "typical_build_seconds": 0,
    "typical_start_seconds": 0,
    "slowest_service": "meilisearch"
  }
}
