Docker image for Laravel PHP Framework This image is intended for development purposes only
1.3K
This docker is crafted specifically for Laravel development only.
This docker image contains everything but Database, in order to include the database you need to manually create it and liking it.
We think that the database should have its own container in order to maintain a certain degree of scalability.
Contributing to this project is pretty simple:
docker build -t name-of-the-image .. We suggest using names that are related to Laravel just to have a clear sight of the role of the containerdocker run -d -v $(pwd):/app --name some-name name-of-the-imageThere are some basics scripts that help you build and run the container:
./scripts/build/build.sh name-of-the-image./scripts/start-container/start-container.sh name-of-the-container name-of-the-imagesIf you are planning to use it for development you can check-out and example at examples/docker-compose.yml file example that we have included inside the repository
The container itself is almost configuration agnostic but since it depends on another container, it has few things to keep in mind
/app/public because laravel has that as entry point80 443 3306 6379You will find:
Content type
Image
Digest
Size
859.2 MB
Last updated
about 8 years ago
docker pull 6gosrl/laravel