Make sure that the following prerequisites are met:
- Docker Compose is installed, as described on the page Docker Compose.
Before you start working with Docker Compose, make sure that the Docker Integration plugin is enabled. The plugin is bundled with RubyMine and is activated by default. If the plugin is not activated, enable it on the Plugins page of the Settings / Preferences Dialog as described in Enabling and Disabling Plugins.
A chosen service declared within a Docker Compose configuration file is supported as a Ruby interpreter. Ruby run configurations based on this interpreter operate like
docker-compose up command with the addition that it maps project sources into the chosen service container.