Laradock build development environment


Configure the local laradock environment (development environment)

Clone laradock source code to local environment

The docker environment needs to be installed before running

git clone

Create. Env file

cp env-example-local .env

  • You can modify the contents of the. Env file according to the situation. The following is the configuration that needs to be modified for the current project.


Refer to readme in laradock project- Document description

  • Building a mirror image

docker-compose build workspace mysql nginx redis elasticsearch mongo rabbitmq

  • Open the following services

docker-compose up -d workspace mysql nginx redis elasticsearch mongo rabbitmq

Finally, enter the container to execute other commands, such as artisan

docker-compose exec workspace bash

Recommended Today

Looking for frustration 1.0

I believe you have a basic understanding of trust in yesterday’s article. Today we will give a complete introduction to trust. Why choose rust It’s a language that gives everyone the ability to build reliable and efficient software. You can’t write unsafe code here (unsafe block is not in the scope of discussion). Most of […]