Skip to content

interpolation env file parameter #13918

Description

@G3nomaly

Description

Request

I would love to see add a top-level Compose field for env files used only for Compose-file interpolation.

Example:

interpolation_env_file:
  - ./config/compose.env

services:
  app:
    image: "example/app"
    env_file:
      - ./config/app.env
    port:
      - ${INTERNAL}:${EXTERNAL}

Currently the only way to do this is through a top level compose file. But this limits usage in ways I can not maintain. forcing people to use a top level compose is near impossible. but allowing us to set it from the compose file would fix it.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Fields

    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