# How to Deploy

## Default Deployment

Deploying Monolith with the default configuration is a simple matter.

1. Install Docker - [Instructions](https://docs.monolithforensics.com/monolith/monolith-features/on-premises-deployments/deployment/docker-installation)
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="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&#x26;token=5cbed157-3cf4-4976-94c8-0de49cae0edb" alt=""><figcaption><p>Monolith Deployment and Removal</p></figcaption></figure>
