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 settings page of the Settings / Preferences Dialog as described in Enabling and Disabling Plugins.
Note that RubyMine supports docker-compose configuration versions 1.0 and up to 3.1.
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.