I'm trying to run
docker-compose --env-file <(cat file1.env <(echo -e "\n\n") file2.env) config docker-compose expects --env-file to be a file. I need to use (concatenate) two files.
Running docker-compose --env-file file_any.env config works well.
Running cat file1.env <(echo -e "\n\n") file2.env separately outputs valid result.
But it somehow doesn't work with docker-compose.
What am I doing wrong?
docker-composedoesn't issue any errors in cases there's no file or it is empty, only can judge on the output not having variables defined in .env files.