This project provides a Dockerized environment for Laravel applications.
-
Clone the Repository: Clone this repository to your local machine.
git clone https://github.com/HaiPigGi/LaraDock-BasicAuth.git
-
Setup Environment: Use the provided Makefile to setup the environment.
make setup
-
Login to PHP Container: Use the following command to login to the PHP container.
make login
Once logged in, you can run various commands such as composer updates, migrations, etc., directly within the container.
make setup
: Builds and sets up the Docker environment.make build
: Builds Docker images with no cache and removes intermediate containers.make stop
: Stops Docker containers.make up
: Starts Docker containers.make composer-update
: Runscomposer update
command within the PHP container.make migrate
: Runs Laravel migrations within the PHP container.make rollback
: Rolls back Laravel migrations within the PHP container.make login
: Logs into the PHP container.
Contributions are welcome! If you encounter any issues or want to contribute with fixes or new features, feel free to open an issue or pull request in our GitHub repository.
This project is licensed under the MIT License.
Thank you for using Laravel Dockerized! 🚀