Use this repository to get started with developing your Laravel application in a Docker container.
This repo has been discontinued. Please use Laravel Sail or Little Sail instead
To get started, the following steps needs to be taken:
cd
to the project directory.cd
to web
and run the command to create a new Laravel project laravel new src
..env.example
file in the root of the project to .env
and customise.docker-compose up -d
to start the containers.
To use Redis or MySQL, uncomment the service definition in the docker-compose.yml
file. Also remember to uncomment the links
and depends_on
list.
8888
to another number in your docker-compose.yml
file.