Can't configure docker-compose remote interpreter with yaml extensions

I'm trying to configure a docker-compose-based Python interpreter for my project, but PyCharm seems to be choking on our docker-compose.yml file format. Here's a link to the current version of that file on Github:

This file uses aliases and extensions, which I believe were first supported in the docker-compose YAML version 3.4. When I open the dialog to configure the docker-compose-based interpreter, it looks like there is no issue initially, but I am unable to select a service. When I hover over the option for the configuration files, I see this unscrollable tooltip:


Just from that brief message, it seems like PyCharm can't understand "environment: *py-environment" in several of the services.


PyCharm 2019.1.1 (Professional Edition)
Build #PY-191.6605.12, built on April 3, 2019
JRE: 11.0.2+9-b159.34 x86_64
JVM: OpenJDK 64-Bit Server VM by JetBrains s.r.o
macOS 10.13.6

If it matters, I'm using Docker for Mac, not docker-machine

1 comment
Comment actions Permalink


Yes, the issue is reproduced on the latest PyCharm version. Please submit a bug report to our issue tracker (


Please sign in to leave a comment.