Score:0

docker-compose php files are updated but not executed

us flag

I am in a weird condition with docker-compose that I cannot explain.

I have installed a docker-compose with three services to serve Symfony project. The services are php-fpm, mysql and nginx.

So far I have installed all properly, and the Symfony is running as expected, but, when I do a change on a php file on the host machine, and I refresh the browser, then the changes are not reflected on my browser.

At the same time, if run the commands docker -it exec PHP-CONTAINER-ID sh or docker -it exec NGINX-CONTAINER-ID bash and then in both scenarios execute the more /srv/api/Serializer/SerializerContextBuilder.php I can see the changes I did on my host machine in both sides (nginx and php-fpm)

I run the docker on an Ubuntu 20.04 system.

Docker Version: Docker version 20.10.7, build f0df350

Docker Compose Version: docker-compose version 1.27.4, build 40524192

Any idea of what can make this issue? Is there anyone have experienced such a weird case and if so how solved it?

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.