> For the complete documentation index, see [llms.txt](https://docs.esignet.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.esignet.io/home/esignet-2.0.0/build-and-deploy.md).

# Deploy

Effortlessly deploy and configure eSignet with comprehensive guides, architecture insights, and mock environments.

This section is about taking eSignet beyond your own machine — deploying and configuring it for a real environment, where it needs to be sized, secured, and set up to match your organization's own requirements. eSignet supports two deployment paths: brought up locally with Docker Compose for evaluation and development, or deployed on-premise with full flexibility to configure it around your infrastructure and use case.

If you're looking to run eSignet locally to try it out or develop against it, see [Quickstart's Local Setup](/home/esignet-2.0.0/local-deployment/local-setup.md) instead — that's the Docker Compose–based path for a single developer's machine, and it's covered there rather than here. This section is for planning and carrying out an actual deployment.

### In This Section

* [**Deployment Architecture**](/home/esignet-2.0.0/build-and-deploy/deployment-arch.md) — how eSignet's components are typically laid out in a real deployment, and the infrastructure and sizing considerations that come with it. *(page to be added)*
* [**On-Prem Deployment Guide**](/home/esignet-2.0.0/build-and-deploy/on-prem-deployment-guide.md) — step-by-step guidance for deploying and configuring eSignet on your own infrastructure, tailored to your organization's requirements. *(page to be added)*

### Which Codebase to Deploy

The latest stable, deployable codebase is always on the `master` branch of the [eSignet repository](https://github.com/mosip/esignet). Feature development and bug fixes happen on separate feature or development branches first and are merged into `master` once ready — so `master` is the branch to deploy from, not a feature branch.

{% hint style="info" icon="github" %}
Note: For deployment and testing, it is recommended to use either the master branch or the official released tags.
{% endhint %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://docs.esignet.io/home/esignet-2.0.0/build-and-deploy.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
