Allowing multiple environment variables to be passed to a container from another file external to docker-compose.yml
So env_file
is not supported in the docker-compose file?
If this is unsupported, can you add it to the “known unsupported fields”? docker-compose.yml fields | balena
cywang117: env_file
is not supported at the moment, although there have been discussions to add it. Until we do, I’ve clarified the unsupported nature of this attribute in our docs, for both top-level env_file
and service.env_file
: Specify env_file attribute as unsupported by cywang117 · Pull Request #3113 · balena-io/docs · GitHub