Simple but effective docker-compose setup for using nginx with php-fpm.
- Clone this repo
git clone https://github.com/FelixKlauke/nginx-php-fpm-docker.git - Put your code under src
- Run
docker-compose up -d - Browse your site at
http://<host>:8080
We use the chialab/php:7.3-fpm image for chialab that contains a lot of common php dependencies.
The basic setup is inspired by this.