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_system
make build
This command builds the Docker image named login_system:latest
.
make start
This command starts the Docker containers in the background.
make stop
This command stops the running Docker containers.
make remove
This command stops and removes the containers, as well as associated volumes.
make db
This command opens a bash shell in the PostgreSQL container.
make shell
This command opens a bash shell in the PHP container.
make reset
This command performs a full reset by stopping, removing containers and volumes, and then starting again.
make shell
composer install
This 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.