Skip to content

Allow glob in include statement paths #12497

Description

@brad2014

Description

To create a compose environment that allows for plugins/extensions, we would like to be able to say:

services:
  # common services for this designed environment

include: docker-compose.d/*.yml # admin selected plugins for this environment, loaded in alphabetical order 

Of course, because the order of inclusion may matter for certain compose environments (not all), the glob would be sorted, and admins would have the ability to name their drop-in files as is customary in traditional unix subsystems that support drop-ins (e.g. /etc/sysctl.d, /etc/grub.d, /etc/X11/xinit/xinitrc.d, etc) : 00-firstcompose.yml, 05-earlycompose.yml, 99-finalcompose.yml, etc.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions