Tag: docker compose

How to correctly link php-fpm and Nginx Docker containers?

I am trying to link 2 separate containers: nginx:latest php:fpm The problem is that php scripts do not work. Perhaps the php-fpm configuration is incorrect. Here is the source code, which is in my repository. Here is the file docker-compose.yml: nginx: build: . ports: – “80:80” – “443:443” volumes: – ./:/var/www/test/ links: – fpm fpm: […]

Docker will be the best open platform for developers and sysadmins to build, ship, and run distributed applications.