Laravel Docker

Other topics

Using Laradock

Laradock is a project that provides a ready to go contains tailored for Laravel use.

Download or clone Laradock in your project's root folder:

git clone https://github.com/Laradock/laradock.git

Change directory into Laradock and generate the .env file needed to run your configurations:

cd laradock
cp .env-example .env

You are now ready to run docker. The first time you run the container it will download all the need packages from the internet.

docker-compose up -d nginx mysql redis beanstalkd

Now you can open your browser and view your project on http://localhost.

For the full Laradock documentation and configuration click here.

Contributors

Topic Id: 10034

Example Ids: 30806

This site is not affiliated with any of the contributors.