/docker-nginx-php-fpm-7

Example docker-compose with nginx and php-fpm (php 7.2)

Primary LanguageDockerfile

CentOS 7: Docker, Nginx, and php-fpm

This will build the neccessary services (nginx and php-fpm) to serve php files.

The project directory will mount to /opt/app.

docker-compose -p php -f docker-compose.yml up

The example php website should be accessible at http://localhost