{
  "manifest_version": "1.0.0",
  "template": {
    "id": "df88ce18-1c30-43ab-afb7-0eabbcf7534a",
    "slug": "mysql-8-or-any-version",
    "name": "MySQL 8 or Any Version",
    "description": "Choose tag MySQL version and deploy - default 8.0.35",
    "url": "https://railway.com/deploy/mysql-8-or-any-version",
    "upstream": {
      "repo_url": "https://github.com/feliperosenek/mysql-any-version-railway"
    }
  },
  "status": "unvalidated",
  "validated_at": null,
  "success_rate_30d": null,
  "services": [
    {
      "name": "MySQL",
      "source": {
        "repo": "https://github.com/feliperosenek/mysql-any-version-railway"
      },
      "needs_volume": true,
      "volume_mount_path": "/var/lib/mysql",
      "tcp_ports": [
        3306
      ],
      "http": false
    }
  ],
  "required_inputs": [
    {
      "key": "MYSQL_VERSION",
      "service": "MySQL",
      "description": "ex: 8.0.35",
      "secret": false,
      "strategy": "ask_user"
    },
    {
      "key": "MYSQL_DATABASE",
      "service": "MySQL",
      "description": "Database Create",
      "secret": false,
      "strategy": "ask_user"
    },
    {
      "key": "MYSQL_ROOT_PASSWORD",
      "service": "MySQL",
      "description": "MySQL pass",
      "secret": true,
      "strategy": "generate",
      "generate": "strong_password"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "mysql-8-or-any-version"
      }
    },
    "cli": "railway deploy --template mysql-8-or-any-version",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "df88ce18-1c30-43ab-afb7-0eabbcf7534a",
            "serializedConfig": {
              "buckets": {},
              "services": {
                "7da97248-b302-4a05-b4a6-383006e7629d": {
                  "icon": "https://devicons.railway.com/i/mysql.svg",
                  "name": "MySQL",
                  "deploy": {
                    "startCommand": null,
                    "healthcheckPath": null,
                    "restartPolicyType": "ON_FAILURE",
                    "restartPolicyMaxRetries": 10
                  },
                  "source": {
                    "repo": "https://github.com/feliperosenek/mysql-any-version-railway",
                    "rootDirectory": null
                  },
                  "variables": {
                    "MYSQL_VERSION": {
                      "isOptional": false,
                      "description": "ex: 8.0.35",
                      "defaultValue": "{{MYSQL_VERSION}}"
                    },
                    "MYSQL_DATABASE": {
                      "isOptional": false,
                      "description": "Database Create",
                      "defaultValue": "{{MYSQL_DATABASE}}"
                    },
                    "MYSQL_ROOT_PASSWORD": {
                      "isOptional": false,
                      "description": "MySQL pass",
                      "defaultValue": "{{MYSQL_ROOT_PASSWORD}}"
                    }
                  },
                  "networking": {
                    "tcpProxies": {
                      "3306": {}
                    }
                  },
                  "volumeMounts": {
                    "7da97248-b302-4a05-b4a6-383006e7629d": {
                      "mountPath": "/var/lib/mysql"
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {},
  "resources": {
    "expected_services": 1,
    "needs_volume": true
  },
  "generated_at": "2026-09-20T22:14:37.505Z",
  "generator_version": "0.1.0"
}
