{
  "manifest_version": "1.0.0",
  "template": {
    "id": "b8efdc18-9140-4445-91aa-d2624481651c",
    "slug": "mealie-1",
    "name": "Mealie",
    "description": "Self-hosted recipe manager and meal planner with shopping lists",
    "url": "https://railway.com/deploy/mealie-1",
    "upstream": {
      "image": "ghcr.io/mealie-recipes/mealie:latest"
    }
  },
  "status": "unvalidated",
  "validated_at": null,
  "success_rate_30d": null,
  "services": [
    {
      "name": "Mealie",
      "source": {
        "image": "ghcr.io/mealie-recipes/mealie:latest"
      },
      "needs_volume": true,
      "volume_mount_path": "/app/data",
      "http": true
    }
  ],
  "required_inputs": [
    {
      "key": "BASE_URL",
      "service": "Mealie",
      "description": "Provide a value for BASE_URL.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_domain"
    },
    {
      "key": "MEALIE_ADMIN_PASSWORD",
      "service": "Mealie",
      "description": "Provide a value for MEALIE_ADMIN_PASSWORD.",
      "secret": true,
      "strategy": "generate",
      "generate": "strong_password"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "mealie-1"
      }
    },
    "cli": "railway deploy --template mealie-1",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "b8efdc18-9140-4445-91aa-d2624481651c",
            "serializedConfig": {
              "buckets": {},
              "services": {
                "d3b5fb43-7435-49f5-a966-c49291c495e4": {
                  "icon": null,
                  "name": "Mealie",
                  "deploy": {
                    "startCommand": "sh -c 'f=$(/opt/mealie/bin/python -c \"import mealie.core.settings.settings as s; print(s.__file__)\") && sed -i \"s/\\\"MyPassword\\\"/\\\"$MEALIE_ADMIN_PASSWORD\\\"/\" \"$f\" && exec /app/run.sh'",
                    "healthcheckPath": null,
                    "restartPolicyType": "ON_FAILURE",
                    "restartPolicyMaxRetries": 10
                  },
                  "source": {
                    "image": "ghcr.io/mealie-recipes/mealie:latest"
                  },
                  "variables": {
                    "BASE_URL": {
                      "isOptional": false,
                      "defaultValue": "https://${{RAILWAY_PUBLIC_DOMAIN}}"
                    },
                    "MEALIE_ADMIN_PASSWORD": {
                      "isOptional": false,
                      "defaultValue": "{{MEALIE_ADMIN_PASSWORD}}"
                    }
                  },
                  "networking": {
                    "serviceDomains": {
                      "<hasDomain>:9000": {
                        "port": 9000
                      }
                    }
                  },
                  "volumeMounts": {
                    "d3b5fb43-7435-49f5-a966-c49291c495e4": {
                      "mountPath": "/app/data"
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {},
  "resources": {
    "expected_services": 1,
    "needs_volume": true
  },
  "generated_at": "2026-10-26T22:14:46.852Z",
  "generator_version": "0.1.0"
}
