Dev stack is a PHP dev environment based on Docker.
project
│
└───app
│ │ file
│ │ ...
│ └───subfolder1
│ │ file
│ │ file
│ │ ...
│
└───utils
│
└───docker
└───nginx
│ │ file
│ │ ...
└───php
│ │ file
│ │ ...
│ docker-compose.yml
│ Makefile
In the app directory lives our application source code.
The utils directory contains all devop tools, such Docker, Ansible, Shell's scripts ...
- Nginx
- MySQL 8.0
- PHP 7.4
- RabbitMQ
- PHPMyAdmin
- MailHog
After cloning the repository.
cd utils/docker
Build
docker-compose build
You can use the Makefile to build :
make build
docker-compose up -d
# same thing here you can use the Makefile
make up
docker-compose down --remove-orphans
# same thing here you can use the Makefile
make down