{
  "manifest_version": "1.0.0",
  "template": {
    "id": "7cfeb962-cb90-4550-81d6-f961ede58365",
    "slug": "magento-23",
    "name": "Magento 2.3",
    "description": "Install Magento With Native Search Engine",
    "url": "https://railway.com/deploy/magento-23",
    "upstream": {
      "repo_url": "https://github.com/feliperosenek/magento2.3-railway"
    }
  },
  "status": "unvalidated",
  "validated_at": null,
  "success_rate_30d": null,
  "services": [
    {
      "name": "MySQL 8",
      "source": {
        "repo": "https://github.com/feliperosenek/mysql-any-version-railway"
      },
      "needs_volume": true,
      "volume_mount_path": "/var/lib/mysql",
      "http": false
    },
    {
      "name": "Magento 2.3",
      "source": {
        "repo": "https://github.com/feliperosenek/magento2.3-railway"
      },
      "needs_volume": true,
      "volume_mount_path": "/var/www",
      "http": true
    }
  ],
  "required_inputs": [
    {
      "key": "MYSQL_ROOT_PASSWORD",
      "service": "MySQL 8",
      "description": "MySQL password root",
      "secret": true,
      "strategy": "generate",
      "generate": "strong_password"
    },
    {
      "key": "BASE_URL",
      "service": "Magento 2.3",
      "description": "Shop base URL",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_domain"
    },
    {
      "key": "ADMIN_USER",
      "service": "Magento 2.3",
      "description": "Admin User Magento",
      "secret": false,
      "strategy": "ask_user"
    },
    {
      "key": "MYSQL_HOST",
      "service": "Magento 2.3",
      "description": "MySQL host",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_private_domain"
    },
    {
      "key": "MYSQL_PORT",
      "service": "Magento 2.3",
      "description": "MySQL port",
      "secret": false,
      "strategy": "default",
      "default": "3306"
    },
    {
      "key": "MYSQL_USER",
      "service": "Magento 2.3",
      "description": "MySQL user",
      "secret": false,
      "strategy": "default",
      "default": "root"
    },
    {
      "key": "ADMIN_EMAIL",
      "service": "Magento 2.3",
      "description": "Magento admin e-email",
      "secret": false,
      "strategy": "ask_user"
    },
    {
      "key": "ADMIN_LASTNAME",
      "service": "Magento 2.3",
      "description": "Magento admin lastname",
      "secret": false,
      "strategy": "ask_user"
    },
    {
      "key": "ADMIN_PASSWORD",
      "service": "Magento 2.3",
      "description": "Magento admin password",
      "secret": true,
      "strategy": "generate",
      "generate": "strong_password"
    },
    {
      "key": "MYSQL_DATABASE",
      "service": "Magento 2.3",
      "description": "MySQL database name",
      "secret": false,
      "strategy": "default",
      "default": "railway"
    },
    {
      "key": "MYSQL_PASSWORD",
      "service": "Magento 2.3",
      "description": "MySQL password",
      "secret": true,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "ADMIN_FIRSTNAME",
      "service": "Magento 2.3",
      "description": "Magento admin first name",
      "secret": false,
      "strategy": "ask_user"
    },
    {
      "key": "BACKEND_FRONTNAME",
      "service": "Magento 2.3",
      "description": "Define your_url/{BACKEND_FRONTNAME} to access admin page",
      "secret": false,
      "strategy": "default",
      "default": "admin"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "magento-23"
      }
    },
    "cli": "railway deploy --template magento-23",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "7cfeb962-cb90-4550-81d6-f961ede58365",
            "serializedConfig": {
              "buckets": {},
              "services": {
                "e99a3d2a-e37c-4869-aa24-084152423e16": {
                  "icon": "https://devicons.railway.com/i/mysql.svg",
                  "name": "MySQL 8",
                  "deploy": {
                    "startCommand": null,
                    "healthcheckPath": null,
                    "restartPolicyType": "ON_FAILURE",
                    "restartPolicyMaxRetries": 10
                  },
                  "source": {
                    "repo": "https://github.com/feliperosenek/mysql-any-version-railway",
                    "rootDirectory": null
                  },
                  "variables": {
                    "MYSQL_ROOT_PASSWORD": {
                      "isOptional": false,
                      "description": "MySQL password root",
                      "defaultValue": "{{MYSQL_ROOT_PASSWORD}}"
                    }
                  },
                  "volumeMounts": {
                    "e99a3d2a-e37c-4869-aa24-084152423e16": {
                      "mountPath": "/var/lib/mysql"
                    }
                  }
                },
                "f06b0b9a-d484-43c9-92a8-f3be40ad8e17": {
                  "icon": "https://www.svgrepo.com/show/303592/magento-2-logo.svg",
                  "name": "Magento 2.3",
                  "deploy": {
                    "startCommand": null,
                    "healthcheckPath": "",
                    "restartPolicyType": "ON_FAILURE",
                    "restartPolicyMaxRetries": 10
                  },
                  "source": {
                    "repo": "https://github.com/feliperosenek/magento2.3-railway",
                    "rootDirectory": null
                  },
                  "variables": {
                    "BASE_URL": {
                      "isOptional": false,
                      "description": "Shop base URL",
                      "defaultValue": "https://${{\"Magento 2.3\".RAILWAY_PUBLIC_DOMAIN}}/"
                    },
                    "ADMIN_USER": {
                      "isOptional": false,
                      "description": "Admin User Magento",
                      "defaultValue": "{{ADMIN_USER}}"
                    },
                    "MYSQL_HOST": {
                      "isOptional": false,
                      "description": "MySQL host",
                      "defaultValue": "${{\"MySQL 8\".RAILWAY_PRIVATE_DOMAIN}}"
                    },
                    "MYSQL_PORT": {
                      "isOptional": false,
                      "description": "MySQL port",
                      "defaultValue": "3306"
                    },
                    "MYSQL_USER": {
                      "isOptional": false,
                      "description": "MySQL user",
                      "defaultValue": "root"
                    },
                    "ADMIN_EMAIL": {
                      "isOptional": false,
                      "description": "Magento admin e-email",
                      "defaultValue": "{{ADMIN_EMAIL}}"
                    },
                    "ADMIN_LASTNAME": {
                      "isOptional": false,
                      "description": "Magento admin lastname",
                      "defaultValue": "{{ADMIN_LASTNAME}}"
                    },
                    "ADMIN_PASSWORD": {
                      "isOptional": false,
                      "description": "Magento admin password",
                      "defaultValue": "{{ADMIN_PASSWORD}}"
                    },
                    "MYSQL_DATABASE": {
                      "isOptional": false,
                      "description": "MySQL database name",
                      "defaultValue": "railway"
                    },
                    "MYSQL_PASSWORD": {
                      "isOptional": false,
                      "description": "MySQL password",
                      "defaultValue": "${{\"MySQL 8\".MYSQL_ROOT_PASSWORD}}"
                    },
                    "ADMIN_FIRSTNAME": {
                      "isOptional": false,
                      "description": "Magento admin first name",
                      "defaultValue": "{{ADMIN_FIRSTNAME}}"
                    },
                    "BACKEND_FRONTNAME": {
                      "isOptional": false,
                      "description": "Define your_url/{BACKEND_FRONTNAME} to access admin page",
                      "defaultValue": "admin"
                    }
                  },
                  "networking": {
                    "serviceDomains": {
                      "<hasDomain>": {}
                    }
                  },
                  "volumeMounts": {
                    "f06b0b9a-d484-43c9-92a8-f3be40ad8e17": {
                      "mountPath": "/var/www"
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {},
  "resources": {
    "expected_services": 2,
    "needs_volume": true
  },
  "generated_at": "2026-09-20T10:14:37.339Z",
  "generator_version": "0.1.0"
}
