This repository is based on v3 compose,it will install and setup Nginx, Php7.2, Mysql, phpmyadmin
- Put your website data in "app" directory and configure sql connection properly
- "db-data" directory is mounted to database container /var/lib/mysql path
- "logs" directory is mounted to nginx webserver /var/log/nginx path
- "db-dumps" directory will store mysql importing data
"phpmyadmin => ip_address:8080"
.env file
MYSQL_ROOT_PASSWORD=123456
MYSQL_DATABASE=www_project
docker-compose up -d
docker-compose ps