> 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/deployment-and-security/on-premises-deployments/deployment/how-to-deploy.md).

# How to Deploy

Deploy a standard Monolith on-premises environment using Docker Compose and the configuration files included with your deployment package.

## Default Deployment

Deploying Monolith with the default configuration uses the Docker Compose files included with your on-premises package.

1. Install Docker. See [**Docker Installation**](/monolith/deployment-and-security/on-premises-deployments/deployment/docker-installation.md) for instructions.
2. Choose a location to store your Monolith on-premises package files.
3. Open a command terminal.
4. Navigate to the directory containing your Monolith on-premises package files.
   * This directory contains the `.env` and `docker-compose.yml` files.
5. Run the following command to download and start the Monolith containers defined in `docker-compose.yml`:

   ```
   docker compose up -d
   ```
6. Docker will download the required Monolith container images. This may take a few minutes during the initial deployment.
7. Once the images are downloaded, Docker will start the Monolith containers and initialize the environment.
8. Once the containers are running, access Monolith in a web browser using the IP address or configured domain of the host system:

   ```
   https://{host_server_ip}
   ```

To stop and remove the running Monolith containers, run:

```
docker compose down
```

{% hint style="info" %}
If Monolith is deployed inside a virtual machine, make sure the host environment supports the virtualization requirements needed to run Docker.
{% endhint %}

## Example

<figure><img src="https://2683670198-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FCD1iskOdIm8E2TpCd9iZ%2Fuploads%2F3Gs4g8Ozuqa2x3Xo9nB8%2F2023-05-27_02-02-02%20(1).gif?alt=media&amp;token=5cbed157-3cf4-4976-94c8-0de49cae0edb" alt=""><figcaption><p>Monolith Deployment and Removal</p></figcaption></figure>

### Related Documentation

* [**On-Premises Deployments**](/monolith/deployment-and-security/on-premises-deployments.md)
* [**Requirements**](/monolith/deployment-and-security/on-premises-deployments/requirements.md)
* [**Docker Installation**](/monolith/deployment-and-security/on-premises-deployments/deployment/docker-installation.md)
* [**Monolith Containers (Docker)**](/monolith/deployment-and-security/on-premises-deployments/monolith-containers-docker.md)
* [**Managing Licensing**](/monolith/deployment-and-security/on-premises-deployments/managing-licensing.md)
* [**Monolith Data**](/monolith/deployment-and-security/on-premises-deployments/monolith-data.md)
* [**Backups**](/monolith/deployment-and-security/on-premises-deployments/backups.md)
* [**Custom Domains and TLS**](/monolith/deployment-and-security/on-premises-deployments/custom-domains-and-tls.md)
