{
  "manifest_version": "1.0.0",
  "template": {
    "id": "fa2defc4-ca8f-47e7-97fb-f7471cbdc89e",
    "slug": "nakama",
    "name": "nakama",
    "description": "It's like Hermes Agent & OpenClaw but designed to work nicely with teams.",
    "url": "https://railway.com/deploy/nakama",
    "upstream": {
      "image": "ghcr.io/ahmadrosid/nakama:0.4.2"
    }
  },
  "services": [
    {
      "name": "nakama",
      "source": {
        "image": "ghcr.io/ahmadrosid/nakama:0.4.2"
      },
      "needs_volume": true,
      "volume_mount_path": "/nakama/data",
      "http": true
    }
  ],
  "required_inputs": [
    {
      "key": "PORT",
      "service": "nakama",
      "description": "Provide a value for PORT.",
      "secret": false,
      "strategy": "default",
      "default": "4310"
    },
    {
      "key": "NAKAMA_HOST",
      "service": "nakama",
      "description": "Provide a value for NAKAMA_HOST.",
      "secret": false,
      "strategy": "default",
      "default": "0.0.0.0"
    },
    {
      "key": "NAKAMA_PORT",
      "service": "nakama",
      "description": "Provide a value for NAKAMA_PORT.",
      "secret": false,
      "strategy": "default",
      "default": "4310"
    },
    {
      "key": "DATABASE_URL",
      "service": "nakama",
      "description": "Provide a value for DATABASE_URL.",
      "secret": false,
      "strategy": "default",
      "default": "file:/nakama/data/sqlite/nakama.sqlite"
    },
    {
      "key": "NAKAMA_CONFIG_DIR",
      "service": "nakama",
      "description": "Provide a value for NAKAMA_CONFIG_DIR.",
      "secret": false,
      "strategy": "default",
      "default": "/nakama/data"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "nakama"
      }
    },
    "cli": "railway deploy --template nakama",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "fa2defc4-ca8f-47e7-97fb-f7471cbdc89e",
            "serializedConfig": {
              "buckets": {},
              "services": {
                "1358950d-cd2a-4d7c-8011-2717dce12c37": {
                  "icon": null,
                  "name": "nakama",
                  "deploy": {
                    "startCommand": null,
                    "healthcheckPath": null,
                    "restartPolicyType": "ON_FAILURE",
                    "restartPolicyMaxRetries": 10
                  },
                  "source": {
                    "image": "ghcr.io/ahmadrosid/nakama:0.4.2"
                  },
                  "variables": {
                    "PORT": {
                      "isOptional": true,
                      "description": "",
                      "defaultValue": "4310"
                    },
                    "NAKAMA_HOST": {
                      "isOptional": true,
                      "description": "",
                      "defaultValue": "0.0.0.0"
                    },
                    "NAKAMA_PORT": {
                      "isOptional": true,
                      "description": "",
                      "defaultValue": "4310"
                    },
                    "DATABASE_URL": {
                      "isOptional": true,
                      "description": "",
                      "defaultValue": "file:/nakama/data/sqlite/nakama.sqlite"
                    },
                    "NAKAMA_CONFIG_DIR": {
                      "isOptional": true,
                      "description": "",
                      "defaultValue": "/nakama/data"
                    }
                  },
                  "networking": {
                    "serviceDomains": {
                      "<hasDomain>": {}
                    }
                  },
                  "volumeMounts": {
                    "1358950d-cd2a-4d7c-8011-2717dce12c37": {
                      "mountPath": "/nakama/data"
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {},
  "resources": {
    "expected_services": 1,
    "needs_volume": true
  },
  "generated_at": "2026-09-20T10:14:37.339Z",
  "generator_version": "0.1.0",
  "status": "degraded",
  "validated_at": "2026-09-19T14:31:44.091Z",
  "success_rate_30d": 0,
  "validation": {
    "last_run_id": "run_c19b6a6596ab411ba0e4",
    "checks": [
      {
        "name": "workflow_completed",
        "passed": true
      },
      {
        "name": "all_services_deployed",
        "passed": true
      },
      {
        "name": "stays_up",
        "passed": false,
        "detail": "1 service(s) crashed within 30s"
      }
    ]
  }
}
