# Deploy using Docker

It is required to have Docker-Engine installed in the deployment environment (Linux, Mac, or Windows). \
\
In the following section, we will cover the steps necessary to have OMniLeads running in dockerized environments.

* [Docker Install documentation](https://docs.docker.com/get-docker/)

and the following cloned repository:

```
git clone https://gitlab.com/omnileads/omldeploytool.git
cd omldeploytool/docker-compose
```

## OMniLeads & Docker Compose <a href="#user-content-omnileads-docker-compose" id="user-content-omnileads-docker-compose"></a>

In the directory, we will find 3 Docker Compose files:

**1) docker-compose.yml**: It is used to launch the stack of containers on the workstation where Docker Desktop resides.

**2) docker-compose\_prod.yml**: used to launch the stack on a Cloud VPS (Virtual Private Server) or VM (Virtual Machine).

**3) docker-compose\_prod\_external\_bucket.yml**: Similar to the previous scenario, but including an external bucket (Object Storage - S3).

To create a .env file, copy the example env file provided in the repository:

```
$ cp env .env 
```

According to the chosen scenario, we will follow the steps described in each section:

* [Docker Desktop](https://docs.omnileads.net/english/omnileads-installation-methods/deploy-using-docker/deploy-with-docker-destkop)
* [Docker en VPS Cloud o VM](https://docs.omnileads.net/english/omnileads-installation-methods/deploy-using-docker/deploy-with-docker-for-vps-cloud-or-vm)
* [Docker en VPS Cloud o VM utilizando Bucket Externo](https://docs.omnileads.net/english/omnileads-installation-methods/deploy-using-docker/deploy-with-docker-for-vps-cloud-or-vm-with-external-bucket)
