{
  "manifest_version": "1.0.0",
  "template": {
    "id": "6dc65e52-cc4e-4ce6-8efa-59d45d96b38a",
    "slug": "nakama-ai-agents",
    "name": "Nakama | AI Agent Platform for Teams (OpenClaw Alternative)",
    "description": "Nakama AI agents for teams: chat, tools, memory, Telegram and Slack",
    "url": "https://railway.com/deploy/nakama-ai-agents",
    "upstream": {
      "image": "ghcr.io/ahmadrosid/nakama:0.4.63"
    }
  },
  "status": "unvalidated",
  "validated_at": null,
  "success_rate_30d": null,
  "services": [
    {
      "name": "Nakama",
      "source": {
        "image": "ghcr.io/ahmadrosid/nakama:0.4.63"
      },
      "needs_volume": true,
      "volume_mount_path": "/nakama/data",
      "http": true
    }
  ],
  "required_inputs": [
    {
      "key": "PORT",
      "service": "Nakama",
      "description": "Same port, for Railway's router - leave as is",
      "secret": false,
      "strategy": "default",
      "default": "4310"
    },
    {
      "key": "NAKAMA_PORT",
      "service": "Nakama",
      "description": "Port Nakama listens on - leave as is",
      "secret": false,
      "strategy": "default",
      "default": "4310"
    },
    {
      "key": "RAILWAY_RUN_UID",
      "service": "Nakama",
      "description": "Lets Nakama write to the Railway volume - leave as is",
      "secret": false,
      "strategy": "default",
      "default": "0"
    },
    {
      "key": "NAKAMA_SECRETS_KEY",
      "service": "Nakama",
      "description": "Encrypts stored API keys and tokens - auto-generated, keep it with your backups; losing it loses saved secrets",
      "secret": true,
      "strategy": "generate",
      "generate": "random_base64_32"
    },
    {
      "key": "NAKAMA_WEB_PUBLIC_URL",
      "service": "Nakama",
      "description": "Public URL for OAuth callbacks and shared links - set it to your custom domain when you add one",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_domain"
    },
    {
      "key": "NAKAMA_SEED_ADMIN_NAME",
      "service": "Nakama",
      "description": "Admin display name",
      "secret": false,
      "strategy": "default",
      "default": "Admin"
    },
    {
      "key": "NAKAMA_SEED_ADMIN_EMAIL",
      "service": "Nakama",
      "description": "Your email - the admin login, created on first boot so the setup page is never open to strangers",
      "secret": false,
      "strategy": "ask_user"
    },
    {
      "key": "NAKAMA_SEED_ADMIN_PASSWORD",
      "service": "Nakama",
      "description": "Admin password, set on first boot only - copy it from here to log in, then change it in Nakama",
      "secret": true,
      "strategy": "generate",
      "generate": "strong_password"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "nakama-ai-agents"
      }
    },
    "cli": "railway deploy --template nakama-ai-agents",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "6dc65e52-cc4e-4ce6-8efa-59d45d96b38a",
            "serializedConfig": {
              "services": {
                "0606b5fd-bb3b-4ec8-9c08-1862d03ce08f": {
                  "icon": "https://ahmadrosid.github.io/nakama/brand/nakama-mark-white.png",
                  "name": "Nakama",
                  "build": {},
                  "deploy": {
                    "startCommand": null,
                    "healthcheckPath": "/health",
                    "restartPolicyType": "ON_FAILURE",
                    "restartPolicyMaxRetries": 10
                  },
                  "source": {
                    "image": "ghcr.io/ahmadrosid/nakama:0.4.63"
                  },
                  "variables": {
                    "PORT": {
                      "isOptional": false,
                      "description": "Same port, for Railway's router - leave as is",
                      "defaultValue": "4310"
                    },
                    "NAKAMA_PORT": {
                      "isOptional": false,
                      "description": "Port Nakama listens on - leave as is",
                      "defaultValue": "4310"
                    },
                    "RAILWAY_RUN_UID": {
                      "isOptional": false,
                      "description": "Lets Nakama write to the Railway volume - leave as is",
                      "defaultValue": "0"
                    },
                    "NAKAMA_SECRETS_KEY": {
                      "isOptional": false,
                      "description": "Encrypts stored API keys and tokens - auto-generated, keep it with your backups; losing it loses saved secrets",
                      "defaultValue": "{{NAKAMA_SECRETS_KEY}}"
                    },
                    "NAKAMA_WEB_PUBLIC_URL": {
                      "isOptional": false,
                      "description": "Public URL for OAuth callbacks and shared links - set it to your custom domain when you add one",
                      "defaultValue": "https://${{RAILWAY_PUBLIC_DOMAIN}}"
                    },
                    "NAKAMA_SEED_ADMIN_NAME": {
                      "isOptional": false,
                      "description": "Admin display name",
                      "defaultValue": "Admin"
                    },
                    "NAKAMA_SEED_ADMIN_EMAIL": {
                      "isOptional": false,
                      "description": "Your email - the admin login, created on first boot so the setup page is never open to strangers",
                      "defaultValue": "{{NAKAMA_SEED_ADMIN_EMAIL}}"
                    },
                    "NAKAMA_SEED_ADMIN_PASSWORD": {
                      "isOptional": false,
                      "description": "Admin password, set on first boot only - copy it from here to log in, then change it in Nakama",
                      "defaultValue": "{{NAKAMA_SEED_ADMIN_PASSWORD}}"
                    }
                  },
                  "networking": {
                    "serviceDomains": {
                      "<hasDomain>": {}
                    }
                  },
                  "volumeMounts": {
                    "0606b5fd-bb3b-4ec8-9c08-1862d03ce08f": {
                      "mountPath": "/nakama/data"
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {
    "healthcheck": {
      "service": "Nakama",
      "method": "GET",
      "path": "/health",
      "expect_status": 200
    }
  },
  "resources": {
    "expected_services": 1,
    "needs_volume": true
  },
  "generated_at": "2026-11-07T16:15:10.050Z",
  "generator_version": "0.1.0"
}
