Docker images for Laravel development
Requirements
These images requires Docker and Docker Compose.
Installation
-
Copy
docker-compose.yml
file to your laravel project root path, and edit it according to your needs ; -
Copy content of
.env.example
file and put it into your laravel.env
file with desired values ; -
From your project directory, start up your application by running:
docker-compose up
Docker Images
These docker images are configured in docker-compose.yml
file.
You can comment or uncomment some services according to your project.
tonyyb/laravel-php:7.2
tonyyb/laravel-php:7.3
tonyyb/laravel-php:7.4
tonyyb/laravel-php:8.0
tonyyb/laravel-php:8.1
tonyyb/laravel-nginx:latest
mysql:5.7
;
Contributing
Contributions are welcome! Leave an issue on Github, or create a Pull Request.
Licence
This work is under MIT licence.