WebStorm
 
Get WebStorm
You are viewing the documentation for an earlier version of WebStorm.

Docker Compose

Last modified: 07 September 2023

Docker Compose is used to run multi-container applications. For example, you can run a web server, a backend database, and your application code as separate services. Each service can be scaled by adding more containers if necessary. This enables you to perform efficient development and testing in a dynamic environment, similar to production.

To configure Docker Compose, open the Settings dialog (CtrlAlt0S), go to Build, Execution, Deployment | Docker | Tools, and specify the location of the Docker Compose executable file.

Docker Compose executable file

When Docker Compose runs your multi-container application, you can use the Services tool window to control specific services and interact with containers. The containers that run as part of Docker Compose are listed under the dedicated Compose nodes, not under the Containers node (which is only for standalone containers).