You can use example below if you want to create a simple PHP-FPM, Nginx and MySQL application with docker compose.

Structure

api$ tree
.
├── docker
│   ├── nginx
│   │   └── default.conf
│   └── php
│       ├── Dockerfile
│       └── www.conf
├── .env
├── docker-compose.yml
├── index.html
├── index.php
└── connect.php

#docker #linux #nginx #mysql #php-fpm

Creating A Simple PHP-FPM, Nginx and MySQL Application with Docker Compose
10.75 GEEK