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