in my docker-compose file I have two services. Both services have a binding to the host filesystem. The root path is redundant. I try to define the root path once to reuse it in the two bindings.
In the following sample you see the snippet volumes snippets from two services, where the source is nearly identitcal.
- type: bind*
source: "/E:/Docker/Customers/CustomerA/Solr" *
- type: bind *
source: "/E:/Docker/Customers/CustomerA/Documents" *
How can I define the common part of source ("/E:/Docker/Customers/CustomerA") once and reuse it?