How to pass variables to a docker-compose.yml file using another .env file

preview_player
Показать описание
Рекомендации по теме
Комментарии
Автор

thanks ! it is really short and helpful

PROGamersf
Автор

is it possible to access a .env file from a service like secretsmanager? i have my .env file in my gitignore so that it does not get committed. For context im using jenkins so it will pull from the repo

mattmartin
Автор

is it possible to get env variables from the yaml file if yaml and .env files aren't in the same folder. How can i do it?

metaweatherforcast
welcome to shbcf.ru