Hello, I have small docker(version: '3.1') project with laravel 5 app I have file .env where some path vars are set abd in docker-compose.yml these vars are set. Looks like .env is config file by default and I would like to change name of this config file, as my laravel app also has .env file and that raise some confusion in the project. If there is a way to rename .env of docker project and where such option can be set ? Thanks!
You can use --env_file in your docker-compose.yml https://docs.docker.com/compose/environment-variables/#the-env_file-configuration-option