Docker stack running nginx, PHP-FPM, MySQL, phpMyAdmin.
Server | Version | Port |
---|---|---|
nginx | 1.14 | 80 |
PHP-FPM | 7.2 | 9000 |
MySQL | 5.7 | 3306 |
phpMyAdmin | 4.8 | 3636 |
- Create
.env
file out of.env.example
- Start the containers:
docker-compose up -d
- Access your project (http://localhost:80) or phpMyAdmin (http://localhost:3636).
docker-compose down
docker exec -it <container_name> bash