The latest release of compose adds a long awaited feature: https://github.com/docker/compose/pull/10792 I'd love to be able to use this.