Docker Compose yaml global config

Viewed 51

Is there a way to specify a global configuration that will apply for all services in a docker-compose.yml file? Eg:

glorious-global-settings-for-all-services:
   working_dir: /services

services:
   service-1:
      ...
   service-2:
      ...

I've tried looking far and wide, but Google mostly wants to tell me about how to OVERRIDE docker-compose.yaml:s, of which the question in question is not about.

0 Answers
Related