{
  "manifest_version": "1.0.0",
  "template": {
    "id": "5bf7c1e2-e5b6-43e0-9ee5-531e941b5fd1",
    "slug": "dbgate",
    "name": "DbGate",
    "description": "The Smartest SQL + noSQL Database Client",
    "url": "https://railway.com/deploy/dbgate",
    "upstream": {
      "image": "dbgate/dbgate"
    }
  },
  "services": [
    {
      "name": "DbGate",
      "source": {
        "image": "dbgate/dbgate"
      },
      "needs_volume": true,
      "volume_mount_path": "/root/.dbgate",
      "http": true
    }
  ],
  "required_inputs": [
    {
      "key": "LOGINS",
      "service": "DbGate",
      "description": "Default username, if changing the username, update the `LOGIN_PASSWORD_[username]` variable too",
      "secret": false,
      "strategy": "default",
      "default": "dbgate"
    },
    {
      "key": "LOGIN_PASSWORD_dbgate",
      "service": "DbGate",
      "description": "Password for default usernname, auto generated",
      "secret": true,
      "strategy": "generate",
      "generate": "strong_password"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "dbgate"
      }
    },
    "cli": "railway deploy --template dbgate",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "5bf7c1e2-e5b6-43e0-9ee5-531e941b5fd1",
            "serializedConfig": {
              "services": {
                "b66707e3-e733-47b1-a428-bd33421111b6": {
                  "icon": "https://raw.githubusercontent.com/dbgate/dbgate/master/app/icon.png",
                  "name": "DbGate",
                  "deploy": {
                    "healthcheckPath": "/?page=login"
                  },
                  "source": {
                    "image": "dbgate/dbgate"
                  },
                  "variables": {
                    "LOGINS": {
                      "description": "Default username, if changing the username, update the `LOGIN_PASSWORD_[username]` variable too",
                      "defaultValue": "dbgate"
                    },
                    "LOGIN_PASSWORD_dbgate": {
                      "description": "Password for default usernname, auto generated",
                      "defaultValue": "{{LOGIN_PASSWORD_dbgate}}"
                    }
                  },
                  "networking": {
                    "serviceDomains": {
                      "<hasDomain>": {}
                    }
                  },
                  "volumeMounts": {
                    "b66707e3-e733-47b1-a428-bd33421111b6": {
                      "mountPath": "/root/.dbgate"
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {
    "healthcheck": {
      "service": "DbGate",
      "method": "GET",
      "path": "/?page=login",
      "expect_status": 200
    }
  },
  "resources": {
    "expected_services": 1,
    "needs_volume": true
  },
  "generated_at": "2026-09-14T22:14:43.073Z",
  "generator_version": "0.1.0",
  "status": "validated",
  "validated_at": "2026-09-14T13:12:55.737Z",
  "success_rate_30d": 1,
  "validation": {
    "last_run_id": "run_cbd7883cf65c41ccb231",
    "checks": [
      {
        "name": "workflow_completed",
        "passed": true
      },
      {
        "name": "all_services_deployed",
        "passed": true
      },
      {
        "name": "healthcheck",
        "passed": true
      },
      {
        "name": "stays_up",
        "passed": true
      }
    ],
    "typical_ready_seconds": 17,
    "typical_build_seconds": 0,
    "typical_start_seconds": 0,
    "slowest_service": "DbGate"
  }
}
