Executing remote host deployments through your IDE
When developing an application, an integrated development environment (IDE) has a crucial role in making us more productive. By using Compose, we can deploy and simulate environments, which is why it has become part of our day-to-day development. In this section, we shall combine the usage of an IDE and Compose.
In this section, we will use IntelliJ IDEA Ultimate Edition (https://www.jetbrains.com/idea/download/#section=mac) as our IDE. Ultimate Edition comes with the option of a free trial.
Let’s configure the Docker host. First, go through the Preferences section, then the Build, Execution, Deployment, and Docker sections. Now, a new Docker configuration can be added:
Figure 10.3 – Docker configuration
Then, provided we have docker-compose.yaml
, we can run it locally:
Figure 10.4 – Running Compose
As a result, when we run the Compose file from our IDE, it...