This is a PHP application developed using Docker Compose for local development. It includes a PostgreSQL database, PHP-FPM, and Nginx.
- Docker
- Docker Compose
- git
- gnu-make
- Clone the repository:
git clone https://github.com/delirehberi/php_login_system.git
cd php_login_systemmake buildThis command builds the Docker image named login_system:latest.
make startThis command starts the Docker containers in the background.
make stopThis command stops the running Docker containers.
make removeThis command stops and removes the containers, as well as associated volumes.
make dbThis command opens a bash shell in the PostgreSQL container.
make shellThis command opens a bash shell in the PHP container.
make resetThis command performs a full reset by stopping, removing containers and volumes, and then starting again.
make shell
composer installThis command connects to the PHP container and runs composer install to install project dependencies.
This project is licensed under the MIT License - see the LICENSE file for details.