-
-
Notifications
You must be signed in to change notification settings - Fork 97
Open
Labels
Description
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
dzmitry-lahoda and ManuelLR