{
  "manifest_version": "1.0.0",
  "template": {
    "id": "7fff8135-06cd-4020-91b6-252a18352512",
    "slug": "HHegL4",
    "name": "phpMyAdmin",
    "description": "phpMyAdmin is a free database management tool written in PHP.",
    "url": "https://railway.com/deploy/HHegL4",
    "upstream": {
      "image": "linuxserver/phpmyadmin"
    }
  },
  "services": [
    {
      "name": "phpMyAdmin",
      "source": {
        "image": "linuxserver/phpmyadmin"
      },
      "needs_volume": false,
      "http": true
    }
  ],
  "required_inputs": [
    {
      "key": "PMA_ARBITRARY",
      "service": "phpMyAdmin",
      "description": "Setting this to 1 enables entering any server on login. Setting this to 0 will require connecting to PMA_HOST & PORT!",
      "secret": false,
      "strategy": "default",
      "default": "1"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "HHegL4"
      }
    },
    "cli": "railway deploy --template HHegL4",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "7fff8135-06cd-4020-91b6-252a18352512",
            "serializedConfig": {
              "services": {
                "ec00ef38-56bd-445a-ba85-d61c9a3e18d5": {
                  "name": "phpMyAdmin",
                  "build": {},
                  "deploy": {
                    "startCommand": "/bin/sh -c \"mkdir -p /config/nginx && echo 'resolver 8.8.8.8 8.8.4.4 valid=300s;' > /config/nginx/resolver.conf && /init\"",
                    "healthcheckPath": null
                  },
                  "source": {
                    "image": "linuxserver/phpmyadmin"
                  },
                  "variables": {
                    "PMA_HOST": {
                      "isOptional": true,
                      "description": "Sets the MySQL server phpMyAdmin should connect to. Example: sqlserver.com. You should set PMA_ARBITRARY to 0 if you want to use this!"
                    },
                    "PMA_PORT": {
                      "isOptional": true,
                      "description": "Sets the port of the MySQL server phpMyAdmin should connect to. For example: 3306. You should set PMA_ARBITRARY to 0 if you want to use this!",
                      "defaultValue": ""
                    },
                    "PMA_ARBITRARY": {
                      "isOptional": false,
                      "description": "Setting this to 1 enables entering any server on login. Setting this to 0 will require connecting to PMA_HOST & PORT!",
                      "defaultValue": "1"
                    }
                  },
                  "networking": {
                    "serviceDomains": {
                      "<hasDomain>:80": {
                        "port": 80
                      }
                    }
                  },
                  "volumeMounts": {}
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {},
  "resources": {
    "expected_services": 1,
    "needs_volume": false
  },
  "generated_at": "2026-09-22T10:14:47.278Z",
  "generator_version": "0.1.0",
  "status": "validated",
  "validated_at": "2026-09-21T14:33:31.414Z",
  "success_rate_30d": 1,
  "validation": {
    "last_run_id": "run_9bb1fb7f26d94d268976",
    "checks": [
      {
        "name": "workflow_completed",
        "passed": true
      },
      {
        "name": "all_services_deployed",
        "passed": true
      },
      {
        "name": "stays_up",
        "passed": true
      }
    ],
    "typical_ready_seconds": 57,
    "typical_build_seconds": 0,
    "typical_start_seconds": 0,
    "slowest_service": "phpMyAdmin"
  }
}
