{
  "manifest_version": "1.0.0",
  "template": {
    "id": "feeec231-ab3c-4b29-9a3b-74890255e9e9",
    "slug": "serverless-minecraft-server",
    "name": "Minecraft Server (support for Serverless)",
    "description": "Minecraft server with support for serverless",
    "url": "https://railway.com/deploy/serverless-minecraft-server"
  },
  "status": "unvalidated",
  "validated_at": null,
  "success_rate_30d": null,
  "services": [
    {
      "name": "proxy",
      "source": {
        "repo": "https://github.com/aapelix/proxy"
      },
      "needs_volume": false,
      "tcp_ports": [
        25565
      ],
      "http": false
    },
    {
      "name": "minecraft-server",
      "source": {
        "image": "itzg/minecraft-server:latest"
      },
      "needs_volume": true,
      "volume_mount_path": "/data",
      "http": false
    }
  ],
  "required_inputs": [
    {
      "key": "BACKEND_ADDR",
      "service": "proxy",
      "description": "Internal address the Minecraft server is at (including the port)",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_private_domain"
    },
    {
      "key": "EULA",
      "service": "minecraft-server",
      "description": "Set as true",
      "secret": false,
      "strategy": "ask_user"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "serverless-minecraft-server"
      }
    },
    "cli": "railway deploy --template serverless-minecraft-server",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "feeec231-ab3c-4b29-9a3b-74890255e9e9",
            "serializedConfig": {
              "buckets": {},
              "services": {
                "0666a0d6-99dd-48d0-add0-3ac7d520a45e": {
                  "name": "proxy",
                  "source": {
                    "repo": "aapelix/proxy",
                    "branch": null,
                    "rootDirectory": null
                  },
                  "variables": {
                    "PORT": {
                      "isOptional": true,
                      "description": "Port this proxy listens on (optional, default 25565)",
                      "defaultValue": ""
                    },
                    "BACKEND_ADDR": {
                      "isOptional": false,
                      "description": "Internal address the Minecraft server is at (including the port)",
                      "defaultValue": "${{minecraft-server.RAILWAY_PRIVATE_DOMAIN}}:25565"
                    }
                  },
                  "networking": {
                    "tcpProxies": {
                      "25565": {}
                    }
                  }
                },
                "253a9c54-78a5-4f5c-8bf4-3c3b26e49f9b": {
                  "icon": null,
                  "name": "minecraft-server",
                  "deploy": {
                    "startCommand": null,
                    "healthcheckPath": null,
                    "restartPolicyType": "ON_FAILURE",
                    "restartPolicyMaxRetries": 10
                  },
                  "source": {
                    "image": "itzg/minecraft-server:latest"
                  },
                  "variables": {
                    "EULA": {
                      "isOptional": false,
                      "description": "Set as true",
                      "defaultValue": "{{EULA}}"
                    }
                  },
                  "volumeMounts": {
                    "253a9c54-78a5-4f5c-8bf4-3c3b26e49f9b": {
                      "mountPath": "/data"
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {},
  "resources": {
    "expected_services": 2,
    "needs_volume": true
  },
  "generated_at": "2026-09-21T16:15:12.787Z",
  "generator_version": "0.1.0"
}
