{
  "manifest_version": "1.0.0",
  "template": {
    "id": "ea0a9652-8a89-497a-9f27-0ce8d719a4d9",
    "slug": "opencart",
    "name": "Opencart",
    "description": "Deploy OpenCart 4 store + MySQL on Railway. Persistent, free, one-click.",
    "url": "https://railway.com/deploy/opencart",
    "upstream": {
      "repo_url": "https://github.com/BURNI80/opencart-railway-template"
    }
  },
  "status": "unvalidated",
  "validated_at": null,
  "success_rate_30d": null,
  "services": [
    {
      "name": "opencart",
      "source": {
        "repo": "https://github.com/BURNI80/opencart-railway-template"
      },
      "needs_volume": true,
      "volume_mount_path": "/var/lib/mysql",
      "http": true
    }
  ],
  "required_inputs": [
    {
      "key": "ADMIN_EMAIL",
      "service": "opencart",
      "description": "ADMIN_EMAIL",
      "secret": false,
      "strategy": "ask_user"
    },
    {
      "key": "ADMIN_PASSWORD",
      "service": "opencart",
      "description": "ADMIN_PASSWORD",
      "secret": true,
      "strategy": "generate",
      "generate": "strong_password"
    },
    {
      "key": "ADMIN_USERNAME",
      "service": "opencart",
      "description": "ADMIN_USERNAME",
      "secret": false,
      "strategy": "ask_user"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "opencart"
      }
    },
    "cli": "railway deploy --template opencart",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "ea0a9652-8a89-497a-9f27-0ce8d719a4d9",
            "serializedConfig": {
              "buckets": {},
              "services": {
                "04f9e6fb-a923-4e5f-9cb6-b8628c86501e": {
                  "icon": "https://pb.dashboardicons.com/api/files/community_gallery/y47v24b46g477xh/opencart_2_6owwx2wnk5.png",
                  "name": "opencart",
                  "deploy": {
                    "startCommand": null,
                    "healthcheckPath": "/",
                    "restartPolicyType": "ON_FAILURE",
                    "restartPolicyMaxRetries": 10
                  },
                  "source": {
                    "repo": "https://github.com/BURNI80/opencart-railway-template",
                    "rootDirectory": null
                  },
                  "variables": {
                    "ADMIN_EMAIL": {
                      "isOptional": false,
                      "description": "ADMIN_EMAIL",
                      "defaultValue": "{{ADMIN_EMAIL}}"
                    },
                    "ADMIN_PASSWORD": {
                      "isOptional": false,
                      "description": "ADMIN_PASSWORD",
                      "defaultValue": "{{ADMIN_PASSWORD}}"
                    },
                    "ADMIN_USERNAME": {
                      "isOptional": false,
                      "description": "ADMIN_USERNAME",
                      "defaultValue": "{{ADMIN_USERNAME}}"
                    }
                  },
                  "networking": {
                    "serviceDomains": {
                      "<hasDomain>": {}
                    }
                  },
                  "volumeMounts": {
                    "04f9e6fb-a923-4e5f-9cb6-b8628c86501e": {
                      "mountPath": "/var/lib/mysql"
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {
    "healthcheck": {
      "service": "opencart",
      "method": "GET",
      "path": "/",
      "expect_status": 200
    }
  },
  "resources": {
    "expected_services": 1,
    "needs_volume": true
  },
  "generated_at": "2026-09-23T16:14:58.907Z",
  "generator_version": "0.1.0"
}
