How to connect from a docker container to localhost with .env file?
I have a yii2 app dockerized with the docker-compose.yml file. And I try to connect the docker container with my localhost db.
How to connect from localhost to docker container with .env file?
I have a yii2 app dockerized with the docker-compose.yml file. And I try to connect the docker container with my localhost db.