{
  "manifest_version": "1.0.0",
  "template": {
    "id": "574fa183-ff38-4e58-999c-751ce9817f09",
    "slug": "microsoft-sql-server",
    "name": "Microsoft SQL Server, MSSQL | Enterprise Database on Railway",
    "description": "Self-host MsSQL Server. Persistent storage, TCP proxy, SSMS-ready",
    "url": "https://railway.com/deploy/microsoft-sql-server",
    "upstream": {
      "image": "mcr.microsoft.com/mssql/server:2022-latest"
    }
  },
  "status": "unvalidated",
  "validated_at": null,
  "success_rate_30d": null,
  "services": [
    {
      "name": "MS Sql Server",
      "source": {
        "image": "mcr.microsoft.com/mssql/server:2022-latest"
      },
      "needs_volume": true,
      "volume_mount_path": "/var/opt/mssql",
      "http": false
    }
  ],
  "required_inputs": [
    {
      "key": "MSSQL_PID",
      "service": "MS Sql Server",
      "description": "SQL Server edition to run",
      "secret": false,
      "strategy": "default",
      "default": "Developer"
    },
    {
      "key": "ACCEPT_EULA",
      "service": "MS Sql Server",
      "description": "Accept Microsoft SQL Server EULA",
      "secret": false,
      "strategy": "default",
      "default": "Y"
    },
    {
      "key": "MSSQL_SA_PASSWORD",
      "service": "MS Sql Server",
      "description": "SA admin account password",
      "secret": true,
      "strategy": "generate",
      "generate": "strong_password"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "microsoft-sql-server"
      }
    },
    "cli": "railway deploy --template microsoft-sql-server",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "574fa183-ff38-4e58-999c-751ce9817f09",
            "serializedConfig": {
              "buckets": {},
              "services": {
                "e94a7d69-7a80-4330-b17d-6e0a252701ba": {
                  "icon": "https://cdn.jsdelivr.net/npm/simple-icons@latest/icons/microsoftsqlserver.svg ",
                  "name": "MS Sql Server",
                  "deploy": {
                    "startCommand": null,
                    "healthcheckPath": null,
                    "restartPolicyType": "ON_FAILURE",
                    "restartPolicyMaxRetries": 10
                  },
                  "source": {
                    "image": "mcr.microsoft.com/mssql/server:2022-latest"
                  },
                  "variables": {
                    "MSSQL_PID": {
                      "isOptional": false,
                      "description": "SQL Server edition to run",
                      "defaultValue": "Developer"
                    },
                    "ACCEPT_EULA": {
                      "isOptional": false,
                      "description": "Accept Microsoft SQL Server EULA",
                      "defaultValue": "Y"
                    },
                    "MSSQL_SA_PASSWORD": {
                      "isOptional": false,
                      "description": "SA admin account password",
                      "defaultValue": "{{MSSQL_SA_PASSWORD}}"
                    }
                  },
                  "volumeMounts": {
                    "e94a7d69-7a80-4330-b17d-6e0a252701ba": {
                      "mountPath": "/var/opt/mssql"
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {},
  "resources": {
    "expected_services": 1,
    "needs_volume": true
  },
  "generated_at": "2026-09-09T00:02:40.379Z",
  "generator_version": "0.1.0"
}
