Setting up project in the local environment with Docker using the LEMP stack that includes: Nginx, (MySQL SQLite PostgreSQL), PHP, and phpMyAdmin or pgAdmin.
- Consistent development environment for the entire team.
- You don't need to install a bunch of language environments on your system.
- You can use different versions of the same programming language.
- Deployment is easy
git clone git@github.com:melvin-rulit/Docker-php.git
docker-compose exec app composer install
- Editing the
.env
file with your settings docker-compose build
docker compose up -d
- You can see the project on
127.0.0.1:9904