> For the complete documentation index, see [llms.txt](https://docs.monolithforensics.com/monolith/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.monolithforensics.com/monolith/monolith-features/on-premises-deployments/deployment/how-to-deploy.md).

# How to Deploy

## Default Deployment

Deploying Monolith with the default configuration is a simple matter.

1. Install Docker - [Instructions](/monolith/monolith-features/on-premises-deployments/deployment/docker-installation.md)
2. Pick a location to store your on-premises package files.
3. Open a command terminal.
4. Navigate to the location of your Monolith On-premises package files.
   * This is the folder that contains the .env and docker-compose.yml files.
5. Run the following command to download, deploy, and run the Monolith containers referenced in the docker-compose.yml file:
   * docker compose up -d
6. This will download the Monolith container images which may take a few minutes.
7. Once downloaded, the containers will launch and build the initial Monolith system.
8. You can then navigate to Monolith in a web browser using the IP address of the host system running Monolith:
   * https\://{host\_server\_ip}

To remove the docker containers, you can use the following command:

docker compose down

{% hint style="info" %}
NOTE: If deploying Monolith inside of a virtual machine, you must enable "nested virtualization" for Docker to work.
{% endhint %}

## Example

<figure><img src="/files/dwHx14uiJOa3yMESmGbl" alt=""><figcaption><p>Monolith Deployment and Removal</p></figcaption></figure>


---

# 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.monolithforensics.com/monolith/monolith-features/on-premises-deployments/deployment/how-to-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.
