# SQL Server Hosting Options

## Overview

This section explains the recommended configurations for the database in production.

## Deploying a database

### Azure SQL

See the following documentation for Azure SQL setup:

* [Azure SQL Database Configuration](https://docs.advantys.com/docs/azure/azure-sql-database-configuration)

### On-premise

See the following documentation about the requirements for on-premise databases:

* [Suggested Hardware Configurations](https://docs.advantys.com/docs/features/suggested-hardware-configurations)

### Container-based

WorkflowGen has a production-ready database image based on the Microsoft SQL Server image for Linux. It has the same options as the Microsoft image with some additional features such as automatic creation of the WorkflowGen database and setting the `wfgen_admin` username and password. The image is available on Docker Hub:

* [advantys/workflowgen-sql - Docker Hub](https://hub.docker.com/r/advantys/workflowgen-sql)

For more information about the WorkflowGen database image, see [Configuration](https://docs.workflowgen.com/docker/database-configuration) in the WorkflowGen Database Image section.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.workflowgen.com/docker/sql-server-hosting-options.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
