Docker LEMP boilerplate for use with docker-compose
Use this boilerplate for persistent database project.
This is CentOS 7 linux based that uses 3 docker images:
You can customize the virtual host NGINX config file.
The project's root folder is src/public.
You need to have docker preinstalled.
You can customize DB credentials within db.env file.
Run with:
docker-compose up -d
Once initialized, you can access database with any MySQL client.
For running multiple instances, set the web container port number other than 8080