Skip to content

Adding env_file: to process-compose.ymlΒ #406

@dgmora

Description

@dgmora

Feature Request

Similarly to docker-compose env_file, this would allow each process to specify its own env file. I have searched the documentation but I don't find this option available

Use Case:

You want to share some environment variables between processes, but not all processes. You want to use an existing env file, but not for all processes

Proposed Change:

Add an env_file attribute that lets you load an env file for one process.

Who Benefits From The Change(s)?

I think this adds flexibility in how you organize and share env variables and files.

Alternative Approaches

You can probably achieve similar behaviour with a combination of passing -e and hardcoding the environment into environment

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions