{
  "manifest_version": "1.0.0",
  "template": {
    "id": "94061edc-070f-437b-85b7-2d0834c0daba",
    "slug": "minecraft-forge",
    "name": "Minecraft Forge Server on Railway",
    "description": "Self Host Minecraft Server. Run RLCraft, ATM, or any Forge modpack",
    "url": "https://railway.com/deploy/minecraft-forge",
    "upstream": {
      "image": "itzg/minecraft-server:latest"
    }
  },
  "status": "unvalidated",
  "validated_at": null,
  "success_rate_30d": null,
  "services": [
    {
      "name": "Minecraft Forge",
      "source": {
        "image": "itzg/minecraft-server:latest"
      },
      "needs_volume": true,
      "volume_mount_path": "/data",
      "http": false
    }
  ],
  "required_inputs": [
    {
      "key": "TZ",
      "service": "Minecraft Forge",
      "description": "Container timezone setting",
      "secret": false,
      "strategy": "default",
      "default": "UTC"
    },
    {
      "key": "EULA",
      "service": "Minecraft Forge",
      "description": "Set to \"TRUE\" to accept Minecraft server EULA",
      "secret": false,
      "strategy": "ask_user"
    },
    {
      "key": "TYPE",
      "service": "Minecraft Forge",
      "description": "Server modloader type Forge",
      "secret": false,
      "strategy": "default",
      "default": "FORGE"
    },
    {
      "key": "MEMORY",
      "service": "Minecraft Forge",
      "description": "Allocated RAM for server",
      "secret": false,
      "strategy": "default",
      "default": "4G"
    },
    {
      "key": "FORGE_VERSION",
      "service": "Minecraft Forge",
      "description": "Forge version to install",
      "secret": false,
      "strategy": "default",
      "default": "latest"
    },
    {
      "key": "USE_AIKAR_FLAGS",
      "service": "Minecraft Forge",
      "description": "Enable optimized JVM flags",
      "secret": false,
      "strategy": "default",
      "default": "true"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "minecraft-forge"
      }
    },
    "cli": "railway deploy --template minecraft-forge",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "94061edc-070f-437b-85b7-2d0834c0daba",
            "serializedConfig": {
              "buckets": {},
              "services": {
                "5ffd1f32-a688-40c9-bd01-f9b98d4054f6": {
                  "icon": "https://cdn.jsdelivr.net/gh/homarr-labs/dashboard-icons/svg/minecraft.svg",
                  "name": "Minecraft Forge",
                  "deploy": {
                    "startCommand": null,
                    "healthcheckPath": null,
                    "restartPolicyType": "ON_FAILURE",
                    "restartPolicyMaxRetries": 10
                  },
                  "source": {
                    "image": "itzg/minecraft-server:latest"
                  },
                  "variables": {
                    "TZ": {
                      "isOptional": false,
                      "description": "Container timezone setting",
                      "defaultValue": "UTC"
                    },
                    "EULA": {
                      "isOptional": false,
                      "description": "Set to \"TRUE\" to accept Minecraft server EULA",
                      "defaultValue": "{{EULA}}"
                    },
                    "MODS": {
                      "isOptional": true,
                      "description": "(Optional) Comma separated mod download URLs",
                      "defaultValue": ""
                    },
                    "TYPE": {
                      "isOptional": false,
                      "description": "Server modloader type Forge",
                      "defaultValue": "FORGE"
                    },
                    "MEMORY": {
                      "isOptional": false,
                      "description": "Allocated RAM for server",
                      "defaultValue": "4G"
                    },
                    "FORGE_VERSION": {
                      "isOptional": false,
                      "description": "Forge version to install",
                      "defaultValue": "latest"
                    },
                    "USE_AIKAR_FLAGS": {
                      "isOptional": false,
                      "description": "Enable optimized JVM flags",
                      "defaultValue": "true"
                    }
                  },
                  "volumeMounts": {
                    "5ffd1f32-a688-40c9-bd01-f9b98d4054f6": {
                      "mountPath": "/data"
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {},
  "resources": {
    "expected_services": 1,
    "needs_volume": true
  },
  "generated_at": "2026-09-21T22:14:44.200Z",
  "generator_version": "0.1.0"
}
